diff options
| author | Albin <albin@mullvad.net> | 2022-02-17 09:56:21 +0100 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2022-02-17 09:56:21 +0100 |
| commit | 5dbafe4d43ae91db37196277822ee2c3e913e087 (patch) | |
| tree | ca31be7f13d4169b7d0567edee999c5a94d59330 /android/app | |
| parent | 96cb2008d9a79a6923eee34537dd264a18c79512 (diff) | |
| parent | 4a09f51122b7b9531df8e9aae424fa479457de6a (diff) | |
| download | mullvadvpn-5dbafe4d43ae91db37196277822ee2c3e913e087.tar.xz mullvadvpn-5dbafe4d43ae91db37196277822ee2c3e913e087.zip | |
Merge branch 'add-leak-canary-build-type'
Diffstat (limited to 'android/app')
| -rw-r--r-- | android/app/build.gradle.kts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index c3dd40d520..6fda8a8fad 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -57,6 +57,10 @@ android { isMinifyEnabled = false signingConfig = null } + + create("leakCanary") { + initWith(buildTypes.getByName("debug")) + } } sourceSets { @@ -153,14 +157,17 @@ dependencies { implementation(Dependencies.Kotlin.stdlib) implementation(Dependencies.KotlinX.coroutinesAndroid) - /* Test dependencies */ + // Leak canary + leakCanaryImplementation(Dependencies.leakCanary) + + // Test dependencies testImplementation(Dependencies.Koin.test) testImplementation(Dependencies.Kotlin.test) testImplementation(Dependencies.KotlinX.coroutinesTest) testImplementation(Dependencies.MockK.core) testImplementation(Dependencies.junit) - /* UI test dependencies */ + // UI test dependencies debugImplementation(Dependencies.AndroidX.fragmentTestning) androidTestImplementation(Dependencies.AndroidX.espressoContrib) androidTestImplementation(Dependencies.AndroidX.espressoCore) |
