Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Sep 13, 2023
1 parent bfc76a8 commit 3369077
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ shadowJar {
duplicatesStrategy DuplicatesStrategy.EXCLUDE
archiveClassifier.set('')
archiveFileName.set('stellar-sdk.jar')
relocate 'com.', 'shadow.com.'
relocate('com.', 'shadow.com.') {
// okhttp hardcodes android platform class loading to this package, shadowing would attempt to rewrite the hardcode
// to be 'shadow.com.android.org.conscrypt' which we don't want to happen.
exclude 'com.android.org.conscrypt'
}
relocate 'net.', 'shadow.net.'
relocate 'org.', 'shadow.org.'
relocate 'okhttp3', 'shadow.okhttp3'
Expand Down

0 comments on commit 3369077

Please sign in to comment.