M.Onirban
09/09/2021, 5:09 PMDean Djermanović
09/09/2021, 5:13 PMtrevjones
09/09/2021, 5:19 PMCLOVIS
09/09/2021, 6:06 PMCLOVIS
09/09/2021, 6:06 PMK Merle
09/10/2021, 6:07 AMM.Onirban
09/10/2021, 6:24 AMgildor
09/10/2021, 7:19 AMbuild scripts are slightly slower to compile, but the difference is very small nowI’m a super early adopter of Kotlin DSL and use it for many projects, but I wouldn’t be so definitive In some cases it’s significantly slower (especially on first usage), and if you have hundreds of modules even “slightly slower” will cause big speed degration
gildor
09/10/2021, 7:40 AMEspecially if you drop buildSrc, it becomes quite fastIt’s still slower. Also buildSrc in many cases is the only good way to have shared configuration between modules with Kotlin. So it’s not like “buildSrc” could or should be easily avoided in Kotlin DSl
Joost Klitsie
09/10/2021, 8:29 AMgildor
09/10/2021, 8:37 AMCLOVIS
09/10/2021, 1:32 PMgildor
09/13/2021, 2:00 AMAnshulupadhyay03
09/13/2021, 10:57 AMCLOVIS
09/13/2021, 1:47 PMtrevjones
09/13/2021, 5:06 PMpublic val Project.agpVersion: String
get() = checkNotNull(findProperty("agp.version")).toString()