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`).
Original commit: 8a82c1618c
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
apply { plugin("kotlin") }
|
plugins {
|
||||||
apply { plugin("jps-compatible") }
|
kotlin("jvm")
|
||||||
|
id("jps-compatible")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(projectDist(":kotlin-stdlib"))
|
compile(projectDist(":kotlin-stdlib"))
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
apply { plugin("kotlin") }
|
plugins {
|
||||||
apply { plugin("jps-compatible") }
|
kotlin("jvm")
|
||||||
|
id("jps-compatible")
|
||||||
|
}
|
||||||
|
|
||||||
val compilerModules: Array<String> by rootProject.extra
|
val compilerModules: Array<String> by rootProject.extra
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user