Vincent Williams
11/17/2019, 6:13 PMsubprojects
section in the root gradle file. I cant seem to be able to use the android
block inside the subprojects
block when I use kts gradle filesgildor
11/17/2019, 10:52 PMVincent Williams
11/17/2019, 11:04 PMsubprojects {
apply(plugin = "com.android.library")
android {}
}
gildor
11/17/2019, 11:47 PMplugins{}
block onlyconfigure
block) in this case, or apply this shared config as function on every moduleVincent Williams
11/17/2019, 11:51 PMandroid {}
block leading to a lot of boilerplate.gildor
11/18/2019, 11:03 AMVincent Williams
11/21/2019, 8:13 PMconfigure<com.android.build.gradle.LibraryExtension> {
in its own file to try to separate some of the duplicated module build scripts, however im running into the same issue. It says Unresolved Reference: Android
gildor
11/23/2019, 4:45 AMAndroid
, like that capitalized? Are you sure that it complains on this configure block?Vincent Williams
11/23/2019, 4:54 AMsubprojects
block in the root build fileLibraryConfig.gradle.kts
that I could then use in each module build file using
apply(from = "LibraryConfig.gradle.kts")