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,8 +2,10 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||
|
||||
description = "Kotlin Daemon Client"
|
||||
|
||||
apply { plugin("kotlin") }
|
||||
apply { plugin("jps-compatible") }
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
jvmTarget = "1.6"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user