
Facilitates rapid setup of a multiplatform library with predefined boilerplate, including maven publication, build scripts, version catalog, and GitHub release actions, streamlining development.
Kotlin Multiplatform library template for quick-starts without dealing with boilerplate code
It covers the following boilerplate
To use this template all you have to do is to follow these steps:
com.attafitamim.kalib with your package everywhere in the projectklib-template with your library name everywhere in the projectMultiplatformConventions.kt
PublishConventions.kt
README.md fileThat's it! Now you can add your modules, dependencies, adjust targets and start coding!
To publish your library to maven central you need to follow these steps:
To publish your artifacts to central portal you can either run ./gradlew publishAllPublicationsToMavenCentralRepository locally or create a GitHub release
[!IMPORTANT]
Don't forget to change publishing version inPublishConventions.kt
Kotlin Multiplatform library template for quick-starts without dealing with boilerplate code
It covers the following boilerplate
To use this template all you have to do is to follow these steps:
com.attafitamim.kalib with your package everywhere in the projectklib-template with your library name everywhere in the projectMultiplatformConventions.kt
PublishConventions.kt
README.md fileThat's it! Now you can add your modules, dependencies, adjust targets and start coding!
To publish your library to maven central you need to follow these steps:
To publish your artifacts to central portal you can either run ./gradlew publishAllPublicationsToMavenCentralRepository locally or create a GitHub release
[!IMPORTANT]
Don't forget to change publishing version inPublishConventions.kt