Build: Use fromEmbeddedComponents helper in :prepare:android-lint
This commit is contained in:
@@ -23,18 +23,7 @@ dependencies {
|
||||
}
|
||||
|
||||
runtimeJar {
|
||||
/*
|
||||
TODO: `fromEmbeddedComponents()` should be used here.
|
||||
Couldn't use it because of the "must be locked before it can be used to compute a classpath" error.
|
||||
*/
|
||||
projectsToShadow.forEach {
|
||||
dependsOn("$it:classes")
|
||||
project(it).let { p ->
|
||||
p.pluginManager.withPlugin("java") {
|
||||
from(p.the<JavaPluginConvention>().sourceSets.getByName("main").output)
|
||||
}
|
||||
}
|
||||
}
|
||||
fromEmbeddedComponents()
|
||||
}
|
||||
|
||||
ideaPlugin()
|
||||
|
||||
Reference in New Issue
Block a user