diff options
| author | Albin <albin@mullvad.net> | 2023-07-26 10:26:46 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-07-27 10:38:58 +0200 |
| commit | cdd42a19f8978164916c352ca94948f30f96da3e (patch) | |
| tree | ae9af274dd5cb77915683a14917d9e44cd0424ad /android/lib | |
| parent | 6d57800a24833e53c5cc161d9afb4dffe4381365 (diff) | |
| download | mullvadvpn-cdd42a19f8978164916c352ca94948f30f96da3e.tar.xz mullvadvpn-cdd42a19f8978164916c352ca94948f30f96da3e.zip | |
Add empty common module
Diffstat (limited to 'android/lib')
| -rw-r--r-- | android/lib/common/build.gradle.kts | 35 | ||||
| -rw-r--r-- | android/lib/common/lint-baseline.xml | 4 | ||||
| -rw-r--r-- | android/lib/common/src/main/AndroidManifest.xml | 1 |
3 files changed, 40 insertions, 0 deletions
diff --git a/android/lib/common/build.gradle.kts b/android/lib/common/build.gradle.kts new file mode 100644 index 0000000000..0861441e05 --- /dev/null +++ b/android/lib/common/build.gradle.kts @@ -0,0 +1,35 @@ +plugins { + id(Dependencies.Plugin.androidLibraryId) + id(Dependencies.Plugin.kotlinAndroidId) + id(Dependencies.Plugin.kotlinParcelizeId) +} + +android { + namespace = "net.mullvad.mullvadvpn.lib.common" + compileSdk = Versions.Android.compileSdkVersion + + defaultConfig { + minSdk = Versions.Android.minSdkVersion + targetSdk = Versions.Android.targetSdkVersion + } + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + + kotlinOptions { + jvmTarget = Versions.jvmTarget + } + + lint { + lintConfig = file("${rootProject.projectDir}/config/lint.xml") + baseline = file("lint-baseline.xml") + abortOnError = true + warningsAsErrors = true + } +} + +dependencies { + implementation(Dependencies.Kotlin.stdlib) +} diff --git a/android/lib/common/lint-baseline.xml b/android/lib/common/lint-baseline.xml new file mode 100644 index 0000000000..0722790eb0 --- /dev/null +++ b/android/lib/common/lint-baseline.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<issues format="6" by="lint 7.4.2" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.2)" variant="all" version="7.4.2"> + +</issues> diff --git a/android/lib/common/src/main/AndroidManifest.xml b/android/lib/common/src/main/AndroidManifest.xml new file mode 100644 index 0000000000..cc947c5679 --- /dev/null +++ b/android/lib/common/src/main/AndroidManifest.xml @@ -0,0 +1 @@ +<manifest /> |
