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
…718)

(cherry picked from commit 87613f3)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent a6bf1f6 commit dc6da37
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 @@ -204,7 +204,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 @@ -292,7 +292,7 @@ publishing {
}
}
}
maven("${rootProject.buildDir}/repository") {
maven(rootProject.layout.buildDirectory.dir("repository")) {
name = "localRepo"
}
}
Expand Down

0 comments on commit dc6da37

Please sign in to comment.