Skip to content

Commit

Permalink
#5: changed to configuration avoidance API
Browse files Browse the repository at this point in the history
  • Loading branch information
tlinkowski committed Jun 29, 2019
1 parent fac2a64 commit c5b8de9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ allprojects {
}

//region https://github.com/hierynomus/license-gradle-plugin#running-on-a-non-java-project
val licenseGradle by creating(com.hierynomus.gradle.license.tasks.LicenseCheck::class) {
val licenseGradle by registering(com.hierynomus.gradle.license.tasks.LicenseCheck::class) {
source = fileTree(rootDir) {
include("**/*.gradle")
include("**/*.gradle.kts")
}
}
val license by getting {
"license" {
dependsOn(licenseGradle)
}
//endregion
Expand Down

0 comments on commit c5b8de9

Please sign in to comment.