-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added transitive dependency constraints and updated sdk download…
… link
- Loading branch information
1 parent
b4ccc28
commit 01c5a7e
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,10 +160,25 @@ dependencies { | |
implementation 'com.github.rjeschke:txtmark:0.12' | ||
// // Retrofit | ||
implementation("com.squareup.retrofit2:retrofit:2.9.0") | ||
implementation 'com.squareup.retrofit2:converter-gson:2.9.0' | ||
implementation 'com.squareup.retrofit2:converter-gson' | ||
// // OkHttp | ||
implementation 'com.squareup.okhttp3:okhttp:4.9.3' | ||
implementation 'com.squareup.okhttp3:okhttp' | ||
// implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' | ||
|
||
constraints { | ||
implementation('com.squareup.retrofit2:converter-gson:2.9.0') { | ||
because 'gson 2.8.5 used by retrofit has a vulnerability' | ||
} | ||
implementation('com.google.code.gson:[email protected]') { | ||
because 'gson 2.8.5 used by retrofit has a vulnerability' | ||
} | ||
implementation('com.squareup.okhttp3:okhttp:4.9.3') { | ||
because 'kotlin stdlib 1.4.10 used by okhttp has a vulnerability' | ||
} | ||
implementation('org.jetbrains.kotlin:[email protected]') { | ||
because 'kotlin stdlib 1.4.10 used by okhttp has a vulnerability' | ||
} | ||
} | ||
} | ||
tasks.register('clearJar', Delete) { delete 'build/libs/contentstack.jar' } | ||
tasks.register('unzip', Copy) { | ||
|