summaryrefslogtreecommitdiffhomepage
path: root/android/lib
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-07-25 14:03:57 +0200
committerAlbin <albin@mullvad.net>2023-07-25 16:03:51 +0200
commitea29b9309d85a29783969e7372bb1faa928dd370 (patch)
treefeb4a73d30474caef44b1584954f443d739db22b /android/lib
parent3fb0a7b1928bd32b4454cca74a258820dce5cd15 (diff)
downloadmullvadvpn-ea29b9309d85a29783969e7372bb1faa928dd370.tar.xz
mullvadvpn-ea29b9309d85a29783969e7372bb1faa928dd370.zip
Add empty model module
Diffstat (limited to 'android/lib')
-rw-r--r--android/lib/model/build.gradle.kts38
-rw-r--r--android/lib/model/src/main/AndroidManifest.xml1
2 files changed, 39 insertions, 0 deletions
diff --git a/android/lib/model/build.gradle.kts b/android/lib/model/build.gradle.kts
new file mode 100644
index 0000000000..0efad3b31f
--- /dev/null
+++ b/android/lib/model/build.gradle.kts
@@ -0,0 +1,38 @@
+plugins {
+ id(Dependencies.Plugin.androidLibraryId)
+ id(Dependencies.Plugin.kotlinAndroidId)
+ id(Dependencies.Plugin.kotlinParcelizeId)
+}
+
+android {
+ namespace = "net.mullvad.mullvadvpn.model"
+ 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")
+ abortOnError = true
+ warningsAsErrors = true
+ }
+}
+
+dependencies {
+ implementation(project(Dependencies.Mullvad.talpidLib))
+
+ implementation(Dependencies.jodaTime)
+ implementation(Dependencies.Kotlin.stdlib)
+ implementation(Dependencies.KotlinX.coroutinesAndroid)
+}
diff --git a/android/lib/model/src/main/AndroidManifest.xml b/android/lib/model/src/main/AndroidManifest.xml
new file mode 100644
index 0000000000..cc947c5679
--- /dev/null
+++ b/android/lib/model/src/main/AndroidManifest.xml
@@ -0,0 +1 @@
+<manifest />