svenjacobs
04/03/2019, 7:09 AMapply(from = "...") do not evaluate plugins. For instance in common.gradle.kts I get an error because implementation() is not found. I know that in this case I can use "implementation"() but that doesn't solve the actual problem. In other base modules where I load the Android plugin for instance suddenly android { ... } is not found. How do I solve this with Kotlin DSL?gildor
04/03/2019, 7:28 AMgildor
04/03/2019, 7:29 AMgildor
04/03/2019, 7:29 AMIn other base modules where I load the Android plugin for instance suddenlyTo have static accessor you must apply plugin using plugins dslis not foundandroid { ... }
gildor
04/03/2019, 7:32 AMsvenjacobs
04/03/2019, 7:32 AMplugins { id("com.android.application") } but in the common build script android is still not foundgildor
04/03/2019, 7:33 AMgildor
04/03/2019, 7:34 AMgildor
04/03/2019, 7:34 AMsvenjacobs
04/03/2019, 7:34 AMbuildSrc instead but how do I configure the android block for instance in a fun Project.androidProject()?gildor
04/03/2019, 7:35 AMgildor
04/03/2019, 7:35 AMgildor
04/03/2019, 7:36 AMproject.extension<EXTENSION_TYPE>.configuresvenjacobs
04/03/2019, 7:37 AMgildor
04/03/2019, 7:37 AMsvenjacobs
04/04/2019, 10:07 AMbuildSrc. It was quite some work and I still have a few minor issues but all in all the project compiles and it was worth it! 😄Nikky
04/04/2019, 12:13 PMgildor
04/04/2019, 1:01 PM