Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some vulns in E2E android app #401

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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