Skip to content

Commit

Permalink
Merge pull request #401 from okta/update_vulns
Browse files Browse the repository at this point in the history
Fix some vulns in E2E android app
  • Loading branch information
rajdeepnanua-okta authored Dec 20, 2023
2 parents d2fe27a + 71062d8 commit 5ffcd46
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 151 deletions.
19 changes: 7 additions & 12 deletions e2e/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
configurations.configureEach { configuration ->
configuration.resolutionStrategy {
force 'commons-fileupload:commons-fileupload:1.5'
force 'com.google.guava:guava:32.1.3-android'
}
}
apply from: 'forceVersions.gradle'
forceVersions(configurations)

ext {
buildToolsVersion = findProperty('android.buildToolsVersion') ?: '34.0.0'
Expand All @@ -30,13 +26,12 @@ buildscript {

apply plugin: "com.facebook.react.rootproject"

subprojects {
task allDeps(type: DependencyReportTask) {}
}

allprojects {
configurations.configureEach { configuration ->
configuration.resolutionStrategy {
force 'commons-fileupload:commons-fileupload:1.5'
force 'com.google.guava:guava:32.1.3-android'
}
}
forceVersions(configurations)

repositories {
maven {
Expand Down
13 changes: 13 additions & 0 deletions e2e/android/forceVersions.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
def forceVersions(ConfigurationContainer configurations) {
configurations.configureEach { configuration ->
configuration.resolutionStrategy {
force 'commons-fileupload:commons-fileupload:1.5'
force 'com.google.guava:guava:32.1.3-android'
force 'org.xerial:sqlite-jdbc:3.44.1.0'
force 'com.google.code.gson:gson:2.10.1'
force 'org.json:json:20231013'
}
}
}

ext.forceVersions = this.&forceVersions
Loading

0 comments on commit 5ffcd46

Please sign in to comment.