Use Plugins DSL in Kotlin Gradle scripts

When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
This commit is contained in:
Alexey Tsvetkov
2018-03-24 22:55:55 +03:00
parent 19a13b47ff
commit 8a82c1618c
102 changed files with 381 additions and 197 deletions
+4 -2
View File
@@ -3,8 +3,10 @@ import org.gradle.jvm.tasks.Jar
description = "Compiler runner + daemon client"
apply { plugin("kotlin") }
apply { plugin("jps-compatible") }
plugins {
kotlin("jvm")
id("jps-compatible")
}
jvmTarget = "1.6"