diff options
| author | Albin <albin@mullvad.net> | 2024-08-12 18:27:24 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2024-08-13 09:32:06 +0200 |
| commit | 2d2d41381419230f4d6b538509f03abc2cb034af (patch) | |
| tree | 0b6fe23b53c78c183f853aeb9ea4e122b757d15b /android/lib/shared | |
| parent | acd9d481f80c52cc8f9389e6ba2a8ad25599b200 (diff) | |
| download | mullvadvpn-2d2d41381419230f4d6b538509f03abc2cb034af.tar.xz mullvadvpn-2d2d41381419230f4d6b538509f03abc2cb034af.zip | |
Migrate to version catalogs
Diffstat (limited to 'android/lib/shared')
| -rw-r--r-- | android/lib/shared/build.gradle.kts | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/android/lib/shared/build.gradle.kts b/android/lib/shared/build.gradle.kts index a1bf4a9c75..68078c0a6a 100644 --- a/android/lib/shared/build.gradle.kts +++ b/android/lib/shared/build.gradle.kts @@ -1,15 +1,16 @@ plugins { - id(Dependencies.Plugin.androidLibraryId) - id(Dependencies.Plugin.kotlinAndroidId) - id(Dependencies.Plugin.kotlinParcelizeId) - id(Dependencies.Plugin.junit5) version Versions.Plugin.junit5 + alias(libs.plugins.android.library) + alias(libs.plugins.kotlin.android) + alias(libs.plugins.kotlin.parcelize) + + id(Dependencies.junit5AndroidPluginId) version Versions.junit5Plugin } android { namespace = "net.mullvad.mullvadvpn.lib.shared" - compileSdk = Versions.Android.compileSdkVersion + compileSdk = Versions.compileSdkVersion - defaultConfig { minSdk = Versions.Android.minSdkVersion } + defaultConfig { minSdk = Versions.minSdkVersion } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 @@ -27,22 +28,22 @@ android { } dependencies { - implementation(project(Dependencies.Mullvad.commonLib)) - implementation(project(Dependencies.Mullvad.daemonGrpc)) - implementation(project(Dependencies.Mullvad.modelLib)) + implementation(projects.lib.common) + implementation(projects.lib.daemonGrpc) + implementation(projects.lib.model) - implementation(Dependencies.Arrow.core) - implementation(Dependencies.kermit) - implementation(Dependencies.Kotlin.stdlib) - implementation(Dependencies.KotlinX.coroutinesAndroid) - implementation(Dependencies.jodaTime) + implementation(libs.arrow) + implementation(libs.kermit) + implementation(libs.kotlin.stdlib) + implementation(libs.kotlinx.coroutines.android) + implementation(libs.jodatime) - testImplementation(Dependencies.Kotlin.test) - testImplementation(Dependencies.KotlinX.coroutinesTest) - testImplementation(Dependencies.MockK.core) - testImplementation(Dependencies.junitApi) - testImplementation(Dependencies.junitParams) - testImplementation(Dependencies.turbine) - testImplementation(project(Dependencies.Mullvad.commonTestLib)) - testRuntimeOnly(Dependencies.junitEngine) + testImplementation(libs.kotlin.test) + testImplementation(libs.kotlinx.coroutines.test) + testImplementation(libs.mockk) + testImplementation(Dependencies.junitJupiterApi) + testImplementation(Dependencies.junitJupiterParams) + testImplementation(libs.turbine) + testImplementation(projects.lib.commonTest) + testRuntimeOnly(Dependencies.junitJupiterEngine) } |
