KotlinPublicationScriptsBui.../README.md

36 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

2019-11-20 14:51:40 +00:00
# KotlinMppPublicationBuilder
2021-02-27 19:26:11 +00:00
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
2021-02-27 19:31:46 +00:00
## 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`
2021-02-27 19:36:24 +00:00
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.
2021-02-27 19:31:46 +00:00
## 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).
2021-02-27 19:26:11 +00:00
## 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)