Fix android extensions maven dependencies
`kotlin-android-extensions-runtime` and `kotlin-android-extensions-compiler` had `com.google.android:android` as a provided dependency, but during transition to Kotlin Gradle build the dependency was declared as `runtime` instead of `compileOnly`.
This commit is contained in:
@@ -5,8 +5,7 @@ apply { plugin("kotlin") }
|
||||
|
||||
dependencies {
|
||||
compile(project(":kotlin-stdlib"))
|
||||
compile(ideaPluginDeps("layoutlib", plugin = "android"))
|
||||
runtime(commonDep("com.google.android", "android"))
|
||||
compileOnly(commonDep("com.google.android", "android"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -14,7 +14,7 @@ dependencies {
|
||||
compileOnly(project(":compiler:backend"))
|
||||
compileOnly(project(":kotlin-android-extensions-runtime"))
|
||||
runtime(projectRuntimeJar(":kotlin-compiler-embeddable"))
|
||||
runtime(commonDep("com.google.android", "android"))
|
||||
compileOnly(commonDep("com.google.android", "android"))
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user