Skip to content

Commit

Permalink
gradle 8.10, fix javadoc jar after upgrading publishing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
barnhill committed Aug 17, 2024
1 parent 8461373 commit 2c413bc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import org.jetbrains.dokka.plugability.configuration

buildscript {
extra["gradle"] = "8.8"
extra["gradle"] = "8.10"
extra["javaVersion"] = JavaVersion.VERSION_11
}

Expand Down Expand Up @@ -43,6 +45,7 @@ tasks {
}

val javadocJar by creating(Jar::class) {
dependsOn.add(javadoc)
dependsOn.add(dokkaHtml)
archiveClassifier.set("javadoc")
from(dokkaOutputDir)
Expand All @@ -69,7 +72,7 @@ tasks {

afterEvaluate {
tasks.named("generateMetadataFileForMavenPublication") {
dependsOn.add(tasks.named("dokkaJavadocJar"))
dependsOn.add(tasks.named("dokkaJavadoc"))
dependsOn.add(tasks.named("sourcesJar"))
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
vanniktech-maven-publish = "0.28.0"
vanniktech-maven-publish = "0.29.0"
junit = "4.13.2"
tomlChecker = "0.51.0"
gradleCacheFix = "3.0.1"
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.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pluginManagement {
}

plugins {
id("com.gradle.develocity") version "3.17.5"
id("com.gradle.develocity") version "3.17.6"
}

dependencyResolutionManagement {
Expand Down

0 comments on commit 2c413bc

Please sign in to comment.