It is simple builder of gradle scripts for publication of Kotlin Multiplatform/Kotlin JVM/Java applications to MavenCentral and other target repositories
Go to file
2021-03-01 22:42:15 +06:00
.github remove build action 2021-03-01 21:20:23 +06:00
core rewrite on multiplatform 2021-03-01 20:18:31 +06:00
desktop rewrite on multiplatform 2021-03-01 20:18:31 +06:00
gradle/wrapper init 2021-02-28 00:41:24 +06:00
web add and web target 2021-03-01 22:42:15 +06:00
.gitignore rewrite on multiplatform 2021-03-01 20:18:31 +06:00
build.gradle rewrite on multiplatform 2021-03-01 20:18:31 +06:00
defaultAndroidSettings.gradle rewrite on multiplatform 2021-03-01 20:18:31 +06:00
extensions.gradle add and web target 2021-03-01 22:42:15 +06:00
gradle.properties rewrite on multiplatform 2021-03-01 20:18:31 +06:00
gradlew init 2021-02-28 00:41:24 +06:00
gradlew.bat init 2021-02-28 00:41:24 +06:00
LICENSE Initial commit 2019-11-20 14:51:40 +00:00
mppAndroidProject.gradle rewrite on multiplatform 2021-03-01 20:18:31 +06:00
mppJavaProject.gradle rewrite on multiplatform 2021-03-01 20:18:31 +06:00
mppJsProject.gradle add and web target 2021-03-01 22:42:15 +06:00
mppProjectWithSerialization.gradle rewrite on multiplatform 2021-03-01 20:18:31 +06:00
README.md Update README.md 2021-02-28 01:36:24 +06:00
settings.gradle add and web target 2021-03-01 22:42:15 +06:00

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 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).

Screenshots

Clear state

License autofilling

Developers