Integrate serialization plugin into big Kotlin plugin
Split import handlers into multiple files Add empty Maven handler for Android Studio Add testRuntime dependency on kx-serialization-plugin for all modules which require compiler plugins in test classpath
This commit is contained in:
@@ -42,31 +42,3 @@ If your maven build is failing with Out-Of-Memory errors, set JVM options for ma
|
||||
|
||||
MAVEN_OPTS="-Xmx2G"
|
||||
|
||||
|
||||
|
||||
## Kotlin serialization Gradle Plugin
|
||||
|
||||
First, build all the above. Then run `./gradlew :kotlinx-gradle-serialization-plugin:publishToMavenLocal` to install it to your local maven repository.
|
||||
|
||||
When it is installed in local maven repository, you can add it as a dependency in buildscript classpath and apply it:
|
||||
|
||||
```
|
||||
buildscript {
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1-SNAPSHOT"
|
||||
classpath "org.jetbrains.kotlinx:kotlinx-gradle-serialization-plugin:0.1"
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'kotlinx-serialization'
|
||||
|
||||
```
|
||||
|
||||
You can also obtain it from bintray: https://bintray.com/kotlin/kotlinx/kotlinx.serialization.plugin
|
||||
Reference in New Issue
Block a user