build.gradle.kts
# gradle
f
build.gradle.kts
m
I don't think you can apply kotlin scripts at runtime
Wouldn't they need to be compiled first ?
f
sorry I'm noob here but how can I separate stuff
For the build to not get cluttered?
m
Use buildSrc ?
Actually it looks like you can apply kotlin scripts..https://github.com/gradle/kotlin-dsl-samples/issues/497
But I would still use buildSrc
f
Ok I'm going to research about that
Another thing why doesn't my build script get gradle.properties values?
i have this property kotlinVersion=1.3.50
then I want to use it in the plugins scope
kotlin("jvm") version "$kotlinVersion"
gradle doesn't find the property
Ok I found out thanks