diff options
| author | Albin <albin@mullvad.net> | 2023-07-26 13:12:42 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-07-27 10:41:29 +0200 |
| commit | 67d97bbf838d25151b1739960a74bb53d18c828c (patch) | |
| tree | d7736778e2075583261f7053946dc7cc6d37fce2 | |
| parent | 9ad570564c6b1ceded37d0fbbc147e3a9994f563 (diff) | |
| download | mullvadvpn-67d97bbf838d25151b1739960a74bb53d18c828c.tar.xz mullvadvpn-67d97bbf838d25151b1739960a74bb53d18c828c.zip | |
Add empty ipc module
| -rw-r--r-- | android/app/build.gradle.kts | 1 | ||||
| -rw-r--r-- | android/buildSrc/src/main/kotlin/Dependencies.kt | 1 | ||||
| -rw-r--r-- | android/lib/ipc/build.gradle.kts | 37 | ||||
| -rw-r--r-- | android/lib/ipc/src/main/AndroidManifest.xml | 1 | ||||
| -rw-r--r-- | android/settings.gradle.kts | 1 |
5 files changed, 41 insertions, 0 deletions
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 9476042841..fdccc1f623 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -210,6 +210,7 @@ play { dependencies { implementation(project(Dependencies.Mullvad.commonLib)) implementation(project(Dependencies.Mullvad.endpointLib)) + implementation(project(Dependencies.Mullvad.ipcLib)) implementation(project(Dependencies.Mullvad.modelLib)) implementation(project(Dependencies.Mullvad.talpidLib)) diff --git a/android/buildSrc/src/main/kotlin/Dependencies.kt b/android/buildSrc/src/main/kotlin/Dependencies.kt index 13cf0b2f72..b5b1a30805 100644 --- a/android/buildSrc/src/main/kotlin/Dependencies.kt +++ b/android/buildSrc/src/main/kotlin/Dependencies.kt @@ -91,6 +91,7 @@ object Dependencies { object Mullvad { const val commonLib = ":lib:common" const val endpointLib = ":lib:endpoint" + const val ipcLib = ":lib:ipc" const val modelLib = ":lib:model" const val talpidLib = ":lib:talpid" } diff --git a/android/lib/ipc/build.gradle.kts b/android/lib/ipc/build.gradle.kts new file mode 100644 index 0000000000..c5f8eafa0c --- /dev/null +++ b/android/lib/ipc/build.gradle.kts @@ -0,0 +1,37 @@ +plugins { + id(Dependencies.Plugin.androidLibraryId) + id(Dependencies.Plugin.kotlinAndroidId) + id(Dependencies.Plugin.kotlinParcelizeId) +} + +android { + namespace = "net.mullvad.mullvadvpn.ipc" + 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.modelLib)) + + implementation(Dependencies.Kotlin.stdlib) + implementation(Dependencies.KotlinX.coroutinesAndroid) +} diff --git a/android/lib/ipc/src/main/AndroidManifest.xml b/android/lib/ipc/src/main/AndroidManifest.xml new file mode 100644 index 0000000000..cc947c5679 --- /dev/null +++ b/android/lib/ipc/src/main/AndroidManifest.xml @@ -0,0 +1 @@ +<manifest /> diff --git a/android/settings.gradle.kts b/android/settings.gradle.kts index 2e13f91b50..2abd702e38 100644 --- a/android/settings.gradle.kts +++ b/android/settings.gradle.kts @@ -2,6 +2,7 @@ include(":app") include( ":lib:common:", ":lib:endpoint", + ":lib:ipc", ":lib:model:", ":lib:talpid:" ) |
