Skip to content

Commit

Permalink
Fix setup toolchain in build logic (#216)
Browse files Browse the repository at this point in the history
Co-authored-by: hfhbd <hfhbd@users.noreply.github.com>
  • Loading branch information
hfhbd and hfhbd authored May 28, 2023
1 parent d6663e8 commit a556724
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions gradle/build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ dependencies {
implementation(libs.kover)
implementation(libs.detekt)
}

kotlin.jvmToolchain(11)
6 changes: 4 additions & 2 deletions gradle/build-logic/src/main/kotlin/publish.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ val emptyJar by tasks.registering(Jar::class)
publishing {
publications.configureEach {
this as MavenPublication
artifact(emptyJar) {
classifier = "javadoc"
if (project.name != "kotlinx-uuid-exposed") {
artifact(emptyJar) {
classifier = "javadoc"
}
}
pom {
name.set("app.softwork UUID Library")
Expand Down

0 comments on commit a556724

Please sign in to comment.