Add android-extensions-compiler content to kotlin-android-extensions
This commit is contained in:
committed by
Ilya Chernikov
parent
431d47a605
commit
e94e62be98
@@ -23,9 +23,14 @@ sourceSets {
|
|||||||
"test" {}
|
"test" {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fixes a deadlock in projects evaluation order for :plugins:android-extensions-compiler
|
||||||
|
evaluationDependsOn(":plugins")
|
||||||
|
|
||||||
val jar: Jar by tasks
|
val jar: Jar by tasks
|
||||||
jar.apply {
|
jar.apply {
|
||||||
from(getSourceSetsFrom(":kotlin-android-extensions-runtime")["main"].output.classesDirs)
|
from(getSourceSetsFrom(":plugins:android-extensions-compiler")["main"].output)
|
||||||
|
from(getSourceSetsFrom(":kotlin-android-extensions-runtime")["main"].output)
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.FAIL
|
||||||
}
|
}
|
||||||
|
|
||||||
runtimeJar(rewriteDepsToShadedCompiler(jar))
|
runtimeJar(rewriteDepsToShadedCompiler(jar))
|
||||||
|
|||||||
Reference in New Issue
Block a user