Skip to content

Commit

Permalink
Fix release version for java client. (#1903)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury-Fridlyand authored Jul 11, 2024
1 parent 65c6b61 commit 73d36d0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Set the release version
shell: bash
run: |
if ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}; then
if ${{ github.event_name == 'pull_request' }}; then
R_VERSION="255.255.255"
elif ${{ github.event_name == 'workflow_dispatch' }}; then
R_VERSION="${{ env.INPUT_VERSION }}"
Expand Down
11 changes: 11 additions & 0 deletions java/client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,11 @@ publishing {
}
}

java {
withSourcesJar()
// withJavadocJar()
}

signing {
sign publishing.publications
}
Expand All @@ -236,6 +241,12 @@ jar {
archiveClassifier = "placeholder"
}

sourcesJar {
// suppress following error
// Entry glide/api/BaseClient.java is a duplicate but no duplicate handling strategy has been set
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

spotbugsMain {
reports {
html {
Expand Down

0 comments on commit 73d36d0

Please sign in to comment.