Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/insanusmokrassar/kotlinpublicationscriptsbuilder
It is simple builder of gradle scripts for publication of Kotlin Multiplatform/Kotlin JVM/Java applications to MavenCentral and other target repositories
https://github.com/insanusmokrassar/kotlinpublicationscriptsbuilder
gradle gradle-java gradle-multi-project kotlin kotlin-jvm kotlin-multiplatform
Last synced: 4 months ago
JSON representation
It is simple builder of gradle scripts for publication of Kotlin Multiplatform/Kotlin JVM/Java applications to MavenCentral and other target repositories
- Host: GitHub
- URL: https://github.com/insanusmokrassar/kotlinpublicationscriptsbuilder
- Owner: InsanusMokrassar
- License: apache-2.0
- Created: 2021-02-27T18:33:59.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-05T07:41:44.000Z (over 1 year ago)
- Last Synced: 2023-11-05T08:24:15.948Z (over 1 year ago)
- Topics: gradle, gradle-java, gradle-multi-project, kotlin, kotlin-jvm, kotlin-multiplatform
- Language: Kotlin
- Homepage: https://insanusmokrassar.github.io/KotlinPublicationScriptsBuilder/
- Size: 6.67 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KotlinMppPublicationBuilder
This application was created to decrease routine in process of project creating. Currently this tool can:
* Create `publish.gradle` file with
* Customizable project name and description
* Autoloading and filling license info
* Optional GPG signing
* Opportunity to automatically include `MavenCentral` (Sonatype) repository as target repo
* Include different developers with their nicknames and e-mails
* Create configuration file with extension `kpsb` to be able to reconfigure publication in future via this app and simply update after new versions of application will be created## Launch
`java -jar artifact.jar`
Instead of `artifact.jar` place name of loaded file. Currently in [releases](https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder/releases) section there are eachcommit versions at least for linux x64. You may pass path to configuration. In this case launching will looks like `java -jar artifact.jar "path/to/config.kpsb"`
## Building
`./gradlew clean build`
In case you wish to launch: `./gradlew run`. You may pass your configuration name with `./gradlew run --args="path/to/config.kpsb"`. Besides, you may create jar for your OS with `./gradlew packageUberJarForCurrentOS`. Besides you may wish to create distributable files, than you will need to run `./gradlew createDistributable`, but with high probability you will require at least JDK 14 for this operation.
## Output
As an output you will get ready to use `publish.gradle` file with content like in [my other project (link to github file)](https://github.com/InsanusMokrassar/MicroUtils/blob/master/publish.gradle).
## Screenshots
![Clear state](https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder/blob/master/.github/images/Screenshot%20clear.png)
![License autofilling](https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder/blob/master/.github/images/Screenshot%20license%20example.png)
![Developers](https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder/blob/master/.github/images/Screenshot%20developers%20example.png)