ursus
10/13/2020, 4:34 AMgildor
10/13/2020, 4:37 AMcan groovy code see buildSrc objectsSure, buildSrc is just a part of build classpath
gildor
10/13/2020, 4:38 AMwill kotlin dsl files I migrate work with ext constantsAlso will work, but it will be something like ext[“someConstant”]
gildor
10/13/2020, 4:39 AMephemient
10/13/2020, 5:43 AMephemient
10/13/2020, 5:44 AMephemient
10/13/2020, 5:50 AMkotlin
val foo: Any? by project // ext["foo"]
var bar by ext("1") // ext["bar"] = "1"
gildor
10/13/2020, 6:59 AMusing included builds should be the way forwardIncluded builds will not help, if you have only 1 included build with all your dependencies which applied to all modules, it will still trigger recompilation of everyhing You can split dependencies to multiple modules, but it looks as huge overkill for this use case for me and I would just avoid using any constants for dependencies until gradle provide proper way to handle this (java-platform mitigates this problem thoug)