summaryrefslogtreecommitdiffhomepage
path: root/android/e2e
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2022-12-08 15:53:59 +0100
committerAlbin <albin@mullvad.net>2022-12-08 15:53:59 +0100
commit81c3e7fc12f29ceefb394f11d1486c83e847bcc7 (patch)
treec63536b3d957f5b778a5d70191fc1dfbdd48aaf7 /android/e2e
parent541bbf7c36e6c83ca7e88cc7ff859c8cefbde6c0 (diff)
parent8c6954d4c8d0638fe2b408c9147e56522cb79aa8 (diff)
downloadmullvadvpn-81c3e7fc12f29ceefb394f11d1486c83e847bcc7.tar.xz
mullvadvpn-81c3e7fc12f29ceefb394f11d1486c83e847bcc7.zip
Merge branch 'bump-android-project-to-java-11'
Diffstat (limited to 'android/e2e')
-rw-r--r--android/e2e/build.gradle.kts9
-rw-r--r--android/e2e/e2e-suppression.xml60
-rw-r--r--android/e2e/src/main/AndroidManifest.xml3
3 files changed, 61 insertions, 11 deletions
diff --git a/android/e2e/build.gradle.kts b/android/e2e/build.gradle.kts
index 4804dfba70..1ea4f94058 100644
--- a/android/e2e/build.gradle.kts
+++ b/android/e2e/build.gradle.kts
@@ -7,11 +7,12 @@ plugins {
}
android {
- compileSdkVersion(Versions.Android.compileSdkVersion)
+ namespace = "net.mullvad.mullvadvpn.e2e"
+ compileSdk = Versions.Android.compileSdkVersion
defaultConfig {
- minSdkVersion(Versions.Android.minSdkVersion)
- targetSdkVersion(Versions.Android.targetSdkVersion)
+ minSdk = Versions.Android.minSdkVersion
+ targetSdk = Versions.Android.targetSdkVersion
testApplicationId = "net.mullvad.mullvadvpn.e2e"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
targetProjectPath = ":app"
@@ -105,6 +106,8 @@ configure<org.owasp.dependencycheck.gradle.extension.DependencyCheckExtension> {
dependencies {
implementation(Dependencies.AndroidX.testCore)
+ // Fixes: https://github.com/android/android-test/issues/1589
+ implementation(Dependencies.AndroidX.testMonitor)
implementation(Dependencies.AndroidX.testOrchestrator)
implementation(Dependencies.AndroidX.testRunner)
implementation(Dependencies.AndroidX.testRules)
diff --git a/android/e2e/e2e-suppression.xml b/android/e2e/e2e-suppression.xml
index 4729d5da68..c29b32045c 100644
--- a/android/e2e/e2e-suppression.xml
+++ b/android/e2e/e2e-suppression.xml
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
- <suppress>
- <notes><![CDATA[
- This CVE only affect Multiplatform Gradle Projects, which this project is not.
- ]]></notes>
- <cve>CVE-2022-24329</cve>
- </suppress>
+ <!--
+ CVEs in the e2e project are deemed less severe than CVEs in the main projects as CVEs in the e2e
+ project doesn't affect release or debug versions of the app.
+ -->
<suppress>
<notes><![CDATA[
This CVE is a false positive as the description refers to a GO library (github.com/containers/storage).
@@ -30,6 +28,15 @@
</suppress>
<suppress>
<notes><![CDATA[
+ This CVE is tracked externally and is therefore suppressed in the automatic audit checks.
+ ]]></notes>
+ <packageUrl regex="true">^pkg:maven/com\.google\.protobuf/protobuf\-java@.*$</packageUrl>
+ <cve>CVE-2022-3171</cve>
+ <cve>CVE-2022-3509</cve>
+ <cve>CVE-2021-22569</cve>
+ </suppress>
+ <suppress>
+ <notes><![CDATA[
This CVE affects the Apache Commons Net's FTP client that this app doesn't use.
https://www.openwall.com/lists/oss-security/2022/12/03/1
@@ -43,4 +50,45 @@
<packageUrl regex="true">^pkg:maven/commons\-.*/commons\-.*@.*$</packageUrl>
<cve>CVE-2021-37533</cve>
</suppress>
+ <suppress>
+ <notes><![CDATA[
+ This CVE is tracked externally and is therefore suppressed in the automatic audit checks.
+ https://nvd.nist.gov/vuln/detail/CVE-2021-29425
+
+ File name: commons-io-2.4.jar
+ ]]></notes>
+ <packageUrl regex="true">^pkg:maven/commons\-io/commons\-io@.*$</packageUrl>
+ <cve>CVE-2021-29425</cve>
+ </suppress>
+ <suppress>
+ <notes><![CDATA[
+ This CVE is tracked externally and is therefore suppressed in the automatic audit checks.
+ ]]></notes>
+ <packageUrl regex="true">^pkg:maven/io\.netty/netty\-.*@.*$</packageUrl>
+ <cve>CVE-2021-37136</cve>
+ <cve>CVE-2021-37137</cve>
+ <cve>CVE-2021-43797</cve>
+ <cve>CVE-2021-21295</cve>
+ <cve>CVE-2021-21409</cve>
+ <cve>CVE-2021-21290</cve>
+ <cve>CVE-2022-24823</cve>
+ </suppress>
+ <suppress>
+ <notes><![CDATA[
+ This CVE is tracked externally and is therefore suppressed in the automatic audit checks.
+ https://nvd.nist.gov/vuln/detail/CVE-2022-25647
+
+ File name: gson-2.8.6.jar
+ ]]></notes>
+ <packageUrl regex="true">^pkg:maven/com\.google\.code\.gson/gson@.*$</packageUrl>
+ <cve>CVE-2022-25647</cve>
+ </suppress>
+ <suppress>
+ <notes><![CDATA[
+ This CVE only affect Multiplatform Gradle Projects, which this project is not.
+ https://nvd.nist.gov/vuln/detail/CVE-2022-24329
+ ]]></notes>
+ <packageUrl regex="true">^pkg:maven/org\.jetbrains\.kotlin/kotlin\-stdlib.*@.*$</packageUrl>
+ <cve>CVE-2022-24329</cve>
+ </suppress>
</suppressions>
diff --git a/android/e2e/src/main/AndroidManifest.xml b/android/e2e/src/main/AndroidManifest.xml
index 8f3435f452..931f79d291 100644
--- a/android/e2e/src/main/AndroidManifest.xml
+++ b/android/e2e/src/main/AndroidManifest.xml
@@ -1,5 +1,4 @@
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="net.mullvad.mullvadvpn.e2e">
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<instrumentation