e83a3c3f27
Dex can't merge class files from both android-extensions-runtime and parcelize-runtime, so we have to keep only one copy of each class. Instead of @Deprecated annotations, there are new diagnostics (without quick-fixes yet). The goal is to allow simple usages (@Parcelize alone) but forbid kotlinx.android.synthetic.Parceler usage.
27 lines
464 B
Kotlin
27 lines
464 B
Kotlin
description = "Runtime library for the Parcelize compiler plugin"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
jvmTarget = "1.6"
|
|
|
|
dependencies {
|
|
compile(kotlinStdlib())
|
|
compile(project(":kotlin-android-extensions-runtime"))
|
|
compileOnly(commonDep("com.google.android", "android"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
publish {
|
|
artifactId = "kotlin-parcelize-runtime"
|
|
}
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar() |