Skip to content

Commit

Permalink
Merge pull request #134 from backtrace-labs/bugfix/fix-upload-archive…
Browse files Browse the repository at this point in the history
…s-java-17

Use java 17 on uploading archives
  • Loading branch information
BartoszLitwiniuk authored Jun 7, 2024
2 parents fbca48d + c7cfde5 commit a7072ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/uploadArchives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
persist-credentials: false

- name: set up JDK 11
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11.0.10
distribution: 'adopt'
java-version: 17.0.10
distribution: "adopt"
cache: gradle

- name: Add Maven credentials to gradle.properties
Expand Down
2 changes: 2 additions & 0 deletions backtrace-library/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,12 @@ afterEvaluate { project ->
}

task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
archiveClassifier = 'javadoc'
from androidJavadocs.destinationDir
}

task androidSourcesJar(type: Jar) {
archiveClassifier = 'sources'
from android.sourceSets.main.java.source
}
}
Expand Down

0 comments on commit a7072ac

Please sign in to comment.