mirror of
https://github.com/element-hq/element-android
synced 2024-09-06 17:05:20 +00:00
lifting debug build type to the application module
This commit is contained in:
parent
a947a53e14
commit
5d533d4ec9
|
@ -353,6 +353,16 @@ dependencies {
|
||||||
implementation 'androidx.multidex:multidex:2.0.1'
|
implementation 'androidx.multidex:multidex:2.0.1'
|
||||||
implementation "androidx.sharetarget:sharetarget:1.1.0"
|
implementation "androidx.sharetarget:sharetarget:1.1.0"
|
||||||
|
|
||||||
|
// Flipper, debug builds only
|
||||||
|
debugImplementation(libs.flipper.flipper) {
|
||||||
|
exclude group: 'com.facebook.fbjni', module: 'fbjni'
|
||||||
|
}
|
||||||
|
debugImplementation(libs.flipper.flipperNetworkPlugin) {
|
||||||
|
exclude group: 'com.facebook.fbjni', module: 'fbjni'
|
||||||
|
}
|
||||||
|
debugImplementation 'com.facebook.soloader:soloader:0.10.4'
|
||||||
|
debugImplementation "com.kgurgul.flipper:flipper-realm-android:2.2.0"
|
||||||
|
|
||||||
kapt libs.dagger.hiltCompiler
|
kapt libs.dagger.hiltCompiler
|
||||||
|
|
||||||
androidTestImplementation libs.androidx.testCore
|
androidTestImplementation libs.androidx.testCore
|
||||||
|
@ -378,5 +388,6 @@ dependencies {
|
||||||
androidTestImplementation libs.androidx.fragmentTesting
|
androidTestImplementation libs.androidx.fragmentTesting
|
||||||
androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:1.7.10"
|
androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:1.7.10"
|
||||||
debugImplementation libs.androidx.fragmentTesting
|
debugImplementation libs.androidx.fragmentTesting
|
||||||
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ import dagger.hilt.android.AndroidEntryPoint
|
||||||
import im.vector.app.core.epoxy.onClick
|
import im.vector.app.core.epoxy.onClick
|
||||||
import im.vector.app.core.platform.VectorBaseFragment
|
import im.vector.app.core.platform.VectorBaseFragment
|
||||||
import im.vector.app.databinding.FragmentDebugMemoryLeaksBinding
|
import im.vector.app.databinding.FragmentDebugMemoryLeaksBinding
|
||||||
|
import im.vector.application.databinding.FragmentDebugMemoryLeaksBinding
|
||||||
|
|
||||||
@AndroidEntryPoint
|
@AndroidEntryPoint
|
||||||
class DebugMemoryLeaksFragment :
|
class DebugMemoryLeaksFragment :
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2021 New Vector Ltd
|
* Copyright (c) 2022 New Vector Ltd
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
|
@ -66,7 +66,6 @@ android {
|
||||||
testCoverageEnabled = coverage.enableTestCoverage
|
testCoverageEnabled = coverage.enableTestCoverage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
release
|
|
||||||
}
|
}
|
||||||
|
|
||||||
flavorDimensions "store"
|
flavorDimensions "store"
|
||||||
|
@ -311,20 +310,7 @@ dependencies {
|
||||||
testImplementation(libs.jetbrains.coroutinesTest) {
|
testImplementation(libs.jetbrains.coroutinesTest) {
|
||||||
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
|
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Flipper, debug builds only
|
|
||||||
debugImplementation(libs.flipper.flipper) {
|
|
||||||
exclude group: 'com.facebook.fbjni', module: 'fbjni'
|
|
||||||
}
|
|
||||||
debugImplementation(libs.flipper.flipperNetworkPlugin) {
|
|
||||||
exclude group: 'com.facebook.fbjni', module: 'fbjni'
|
|
||||||
}
|
|
||||||
debugImplementation 'com.facebook.soloader:soloader:0.10.4'
|
|
||||||
debugImplementation "com.kgurgul.flipper:flipper-realm-android:2.2.0"
|
|
||||||
|
|
||||||
// Activate when you want to check for leaks, from time to time.
|
|
||||||
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'
|
|
||||||
|
|
||||||
androidTestImplementation libs.androidx.testCore
|
androidTestImplementation libs.androidx.testCore
|
||||||
androidTestImplementation libs.androidx.testRunner
|
androidTestImplementation libs.androidx.testRunner
|
||||||
androidTestImplementation libs.androidx.testRules
|
androidTestImplementation libs.androidx.testRules
|
||||||
|
|
Loading…
Reference in a new issue