https://github.com/korlibs/easy-kotlin-mpp-gradle-plugin
https://github.com/korlibs/easy-kotlin-mpp-gradle-plugin
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/korlibs/easy-kotlin-mpp-gradle-plugin
- Owner: korlibs
- License: mit
- Created: 2019-05-18T14:24:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-18T22:04:56.000Z (about 4 years ago)
- Last Synced: 2025-04-23T05:42:03.012Z (about 1 year ago)
- Language: Kotlin
- Homepage: https://search.maven.org/artifact/com.soywiz.korlibs/easy-kotlin-mpp-gradle-plugin
- Size: 369 KB
- Stars: 19
- Watchers: 9
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## easy-kotlin-mpp-gradle-plugin
Gradle Plugin to handle Kotlin MPP projects easily
### Usage
If using Gradle Kotlin DSL (`build.gradle.kts`), add:
```
buildscript {
repositories {
mavenCentral()
jcenter()
google()
maven { url = uri("https://dl.bintray.com/korlibs/korlibs/") }
maven { url = uri("https://plugins.gradle.org/m2/") }
}
dependencies {
classpath("com.soywiz.korlibs:easy-kotlin-mpp-gradle-plugin:")
}
}
apply()
```
If using Gradle Groovy DSL (`build.gradle`), add:
```
buildscript {
repositories {
mavenCentral()
jcenter()
google()
maven { url "https://dl.bintray.com/korlibs/korlibs/" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath("com.soywiz.korlibs:easy-kotlin-mpp-gradle-plugin:")
}
}
apply plugin: com.soywiz.korlibs.KorlibsPlugin
```
Then in `gradle.properties` file define a couple of properties (values are given as example):
```
group=com.soywiz.korlibs.korge
version=2.0.0
project.bintray.org=korlibs
project.bintray.repository=korlibs
project.bintray.package=korge
project.scm.url=https://github.com/korlibs/korge
project.description=Multiplatform Game Engine written in Kotlin
project.license.name=MIT License
project.license.url=https://raw.githubusercontent.com/korlibs/korge/master/LICENSE
```
### Signing
Some useful links and commands:
*
*
*
*
*
*
* `gpg --full-generate-key`
* `gpg --output public.pgp --armor --export username@email`
* `gpg --armor --export-secret-keys foobar@example.com | awk 'NR == 1 { print "signing.signingKey=" } 1' ORS='\\n'`