Skip to content

pearxteam/multigradle-library-template

Repository files navigation

@PROJECT_NAME_BEAUTIFUL@ Maven Central Awesome Kotlin Badge

License Discord Test & Deploy | develop Test & Deploy | master

@PROJECT_DESCRIPTION@

Setup

  1. Add the lib to your project's dependencies:
  • Groovy (replace $@PROJECT_NAME@_version with the version you want):
 // universal dependency for Gradle 5.3 and above
 // in case of multiplatform project, just specify the dependency for commonMain/commonTest source set
 implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@:$@PROJECT_NAME@_version" 
 // for Gradle versions below 5.3:
 implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-metadata:$@PROJECT_NAME@_version" // for Common
 // or
 implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-jvm:$@PROJECT_NAME@_version" // for JVM
 // or
 implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-js:$@PROJECT_NAME@_version" // for JS
 // or
 implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-android:$@PROJECT_NAME@_version" // for Android
 // or
 implementation "net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-PLATFORM_YOU_WANT:$@PROJECT_NAME@_version" // for Native
  • Kotlin (replace $@PROJECT_NAME@Version with the version you want):
 // universal dependency for Gradle 5.3 and above
 // in case of multiplatform project, just specify the dependency for commonMain/commonTest source set
 implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@:$@PROJECT_NAME@Version") 
 // for Gradle versions below 5.3:
 implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-metadata:$@PROJECT_NAME@Version") // for Common
 // or
 implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-jvm:$@PROJECT_NAME@Version") // for JVM
 // or
 implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-js:$@PROJECT_NAME@Version") // for JS
 // or
 implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-android:$@PROJECT_NAME@Version") // for Android
 // or
 implementation("net.pearx.@PROJECT_NAME@:@PROJECT_NAME@-PLATFORM_YOU_WANT:$@PROJECT_NAME@Version") // for Native
  1. Use the library and have fun!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published