Skip to content

Commit

Permalink
Upgrade Gradle to 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
squid233 committed Aug 22, 2023
1 parent 727bbf7 commit 0020316
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ subprojects {

tasks.register("assembleJavadocArgs") {
group = "build"
val mspFile = Path("${rootProject.buildDir}/tmp/modulesourcepath.args")
val mspFile = Path("${rootProject.layout.buildDirectory.get().asFile}/tmp/modulesourcepath.args")
outputs.file(mspFile)

doLast {
Expand All @@ -222,13 +222,13 @@ tasks.register<Javadoc>("aggregateJavadoc") {
val projectsToDoc = Artifact.values().map { project(it.subprojectName) }
dependsOn(projectsToDoc.map { it.getTasksByName("classes", true) })
source(projectsToDoc.map { it.sourceSets["main"].java })
destinationDir = File("$buildDir/docs/javadoc")
destinationDir = File("${layout.buildDirectory.get().asFile}/docs/javadoc")

classpath = files(projectsToDoc.map { it.configurations["compileClasspath"].files })

executable = project.findProperty("javadocExecutable") as String?

options.optionFiles = listOf(File("${rootProject.buildDir}/tmp/modulesourcepath.args"))
options.optionFiles = listOf(File("${rootProject.layout.buildDirectory.get().asFile}/tmp/modulesourcepath.args"))
}

allprojects {
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.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 0020316

Please sign in to comment.