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
2023-11-02 18:32:19 +06:00
.github fix of web publication 2023-11-02 17:43:12 +06:00
core Update MavenTemplater.kt 2023-11-02 18:32:19 +06:00
gradle update to support gradle 8.+ 2023-11-02 17:30:42 +06:00
.gitignore updates 2022-01-04 19:46:47 +06:00
build.gradle partially go over with compose 2022-11-15 18:53:59 +06:00
extensions.gradle start 2022-11-10 23:48:59 +06:00
gradle.properties update dependencies 2023-07-10 15:00:35 +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 temporal state 2021-03-02 02:43:30 +06:00
mppJavaProject.gradle start 2022-11-10 23:48:59 +06:00
mppJsProject.gradle update dependencies 2023-07-10 15:00:35 +06:00
mppProjectWithSerialization.gradle fix of build 2023-11-02 17:40:56 +06:00
README.md Update README.md 2021-02-28 01:36:24 +06:00
settings.gradle total rework 2022-11-16 00:56:24 +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