Skip to content

Commit

Permalink
Fix Maven local repository location (post Gradle 8.4 update) (#717)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Nov 7, 2023
1 parent 99bb07a commit 87613f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ dependencies {
}

licenseReport {
renderers = arrayOf(SpdxReporter(File(rootProject.buildDir, "release/dependencies.csv")))
renderers = arrayOf(SpdxReporter(rootProject.layout.buildDirectory.file("release/dependencies.csv").get().getAsFile()))
excludeGroups = arrayOf("org.opensearch.client")
}

Expand Down Expand Up @@ -296,7 +296,7 @@ publishing {
}
}
}
maven("${rootProject.buildDir}/repository") {
maven(rootProject.layout.buildDirectory.dir("repository")) {
name = "localRepo"
}
}
Expand Down

0 comments on commit 87613f3

Please sign in to comment.