Make some build properties extensions in buildSrc
They are used only in main build's .gradle.kts files, so it is more flexible to define them as extensions - no need to republish kotlin-build-gradle-plugin when another such property is to be added.
This commit is contained in:
@@ -4,7 +4,7 @@ apply plugin: 'kotlin'
|
||||
|
||||
configureJvm6Project(project)
|
||||
|
||||
def includeJava9 = BuildPropertiesKt.getKotlinBuildProperties(project).includeJava9
|
||||
def includeJava9 = BuildPropertiesExtKt.getIncludeJava9(project.kotlinBuildProperties)
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
|
||||
Reference in New Issue
Block a user