lifting debug build type to the application module
This commit is contained in:
parent
a947a53e14
commit
5d533d4ec9
vector-app
build.gradle
src/debug
AndroidManifest.xml
java/im/vector/app
features/debug
DebugMenuActivity.ktDebugPermissionActivity.ktTestLinkifyActivity.kt
analytics
DebugAnalyticsActivity.ktDebugAnalyticsFragment.ktDebugAnalyticsViewActions.ktDebugAnalyticsViewModel.ktDebugAnalyticsViewState.kt
di
features
BooleanFeatureItem.ktDebugFeaturesSettingsActivity.ktDebugFeaturesStateFactory.ktDebugVectorFeatures.ktDebugVectorOverrides.ktEnumFeatureItem.ktFeaturesController.kt
leak
DebugMemoryLeaksActivity.ktDebugMemoryLeaksFragment.ktDebugMemoryLeaksViewActions.ktDebugMemoryLeaksViewModel.ktDebugMemoryLeaksViewState.kt
sas
settings
flipper
leakcanary
receivers
res
layout
activity_debug_menu.xmlactivity_debug_permission.xmlactivity_test_linkify.xmldemo_theme_sample.xmldemo_themes.xmlfragment_debug_analytics.xmlfragment_debug_memory_leaks.xmlfragment_debug_private_settings.xmlitem_feature.xmlitem_sas_emoji.xmlitem_test_linkify.xmlview_boolean_dropdown.xml
values
xml
vector
@ -353,6 +353,16 @@ dependencies {
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
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
|
||||
|
||||
androidTestImplementation libs.androidx.testCore
|
||||
@ -378,5 +388,6 @@ dependencies {
|
||||
androidTestImplementation libs.androidx.fragmentTesting
|
||||
androidTestImplementation "org.jetbrains.kotlin:kotlin-reflect:1.7.10"
|
||||
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.platform.VectorBaseFragment
|
||||
import im.vector.app.databinding.FragmentDebugMemoryLeaksBinding
|
||||
import im.vector.application.databinding.FragmentDebugMemoryLeaksBinding
|
||||
|
||||
@AndroidEntryPoint
|
||||
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");
|
||||
* you may not use this file except in compliance with the License.
|
0
vector/src/debug/res/layout/item_sas_emoji.xml → vector-app/src/debug/res/layout/item_sas_emoji.xml
0
vector/src/debug/res/layout/item_sas_emoji.xml → vector-app/src/debug/res/layout/item_sas_emoji.xml
@ -66,7 +66,6 @@ android {
|
||||
testCoverageEnabled = coverage.enableTestCoverage
|
||||
}
|
||||
}
|
||||
release
|
||||
}
|
||||
|
||||
flavorDimensions "store"
|
||||
@ -312,19 +311,6 @@ dependencies {
|
||||
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.testRunner
|
||||
androidTestImplementation libs.androidx.testRules
|
||||
|
Loading…
x
Reference in New Issue
Block a user