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:
Ilya Gorbunov
2020-03-31 21:01:43 +03:00
parent c046f431d9
commit 1727fcf1a8
4 changed files with 22 additions and 18 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ apply plugin: 'kotlin'
configureJvm6Project(project)
def includeJava9 = BuildPropertiesKt.getKotlinBuildProperties(project).includeJava9
def includeJava9 = BuildPropertiesExtKt.getIncludeJava9(project.kotlinBuildProperties)
sourceSets {
main {