Skip to content

Commit

Permalink
Migrate to Gradle 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alllex committed Jul 4, 2023
1 parent 53bba91 commit d6fe534
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ val javadocJar: TaskProvider<Jar> by tasks.registering(Jar::class) {
description = "Produce javadoc with Dokka HTML inside"
dependsOn(tasks.dokkaHtml)
from(tasks.dokkaHtml)
archiveClassifier.set("javadoc")
archiveClassifier = "javadoc"
}

// Without this there is a Gradle error (notice mismatch between publish task and sign names):
Expand All @@ -46,8 +46,8 @@ publishing {
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@ afterEvaluate {
publishing {
publications.withType<MavenPublication>().configureEach {
pom {
name.set("Parsus")
description.set("Composable parsers using Kotlin Coroutines")
url.set("https://github.com/alllex/parsus")
name = "Parsus"
description = "Composable parsers using Kotlin Coroutines"
url = "https://github.com/alllex/parsus"
licenses {
license {
name.set("MIT")
url.set("https://opensource.org/licenses/MIT")
name = "MIT"
url = "https://opensource.org/licenses/MIT"
}
}
developers {
developer {
id.set("alllex")
name.set("Alex by Software")
email.set("software@alllex.me")
url.set("https://alllex.me")
id = "alllex"
name = "Alex by Software"
email = "software@alllex.me"
url = "https://alllex.me"
}
}
scm {
connection.set("scm:git:git@github.com:alllex/parsus.git")
developerConnection.set("scm:git:git@github.com:alllex/parsus.git")
url.set("https://github.com/alllex/parsus")
connection = "scm:git:git@github.com:alllex/parsus.git"
developerConnection = "scm:git:git@github.com:alllex/parsus.git"
url = "https://github.com/alllex/parsus"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit d6fe534

Please sign in to comment.