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:
@@ -2,7 +2,9 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
description = "Kotlin Mock Runtime for Tests"
|
||||
|
||||
apply { plugin("kotlin") }
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
}
|
||||
|
||||
jvmTarget = "1.6"
|
||||
javaHome = rootProject.extra["JDK_16"] as String
|
||||
|
||||
Reference in New Issue
Block a user