Skip to content

Commit

Permalink
Merge pull request #7 from linked-planet/dev
Browse files Browse the repository at this point in the history
Upgrade Kotlin 1.6.20
  • Loading branch information
sjahreis authored Apr 9, 2022
2 parents b8e1293 + 0a32bac commit a1097e3
Show file tree
Hide file tree
Showing 36 changed files with 6,133 additions and 239 deletions.
19 changes: 11 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("js") version "1.5.31" apply false
kotlin("js") version "1.6.20" apply false
id("com.github.hierynomus.license") version "0.16.1"
id("pl.allegro.tech.build.axion-release") version "1.13.6"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
Expand All @@ -25,14 +25,17 @@ subprojects {
ext["email"] = "[email protected]"
}

tasks.register<com.hierynomus.gradle.license.tasks.LicenseCheck>("licenseCheckInSrc") {
source = fileTree(project.projectDir).matching { include("src/**/*") }
}
tasks.register<com.hierynomus.gradle.license.tasks.LicenseFormat>("licenseFormatInSrc") {
source = fileTree(project.projectDir).matching { include("src/**/*") }
tasks {
val licenseCheckInSrc = register<com.hierynomus.gradle.license.tasks.LicenseCheck>("licenseCheckInSrc") {
source = fileTree(project.projectDir).matching { include("src/**/*") }
}
getByName("license").dependsOn(licenseCheckInSrc)

val licenseFormatInSrc = register<com.hierynomus.gradle.license.tasks.LicenseFormat>("licenseFormatInSrc") {
source = fileTree(project.projectDir).matching { include("src/**/*") }
}
getByName("licenseFormat").dependsOn(licenseFormatInSrc)
}
tasks["license"].dependsOn("licenseCheckInSrc")
tasks["licenseFormat"].dependsOn("licenseFormatInSrc")
}

nexusPublishing {
Expand Down
Loading

0 comments on commit a1097e3

Please sign in to comment.