Skip to content

Commit 1b775d8

Browse files
committed
update versions
1 parent e0ab63f commit 1b775d8

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ android {
6060
}
6161

6262
compileOptions {
63-
sourceCompatibility = JavaVersion.VERSION_1_8
64-
targetCompatibility = JavaVersion.VERSION_1_8
63+
sourceCompatibility = JavaVersion.VERSION_17
64+
targetCompatibility = JavaVersion.VERSION_17
6565
}
6666

6767
buildFeatures {
@@ -95,9 +95,6 @@ dependencies {
9595
implementation(Config.Libs.Misc.permissions)
9696
implementation(Config.Libs.Androidx.constraint)
9797
debugImplementation(Config.Libs.Misc.leakCanary)
98-
debugImplementation(Config.Libs.Misc.leakCanaryFragments)
99-
releaseImplementation(Config.Libs.Misc.leakCanaryNoop)
100-
testImplementation(Config.Libs.Misc.leakCanaryNoop)
10198
}
10299

103100
apply(plugin = "com.google.gms.google-services")
Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,10 @@
11
package com.firebase.uidemo;
22

3-
import com.squareup.leakcanary.LeakCanary;
4-
53
import androidx.appcompat.app.AppCompatDelegate;
64
import androidx.multidex.MultiDexApplication;
75

86
public class FirebaseUIDemo extends MultiDexApplication {
97
static {
108
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY);
119
}
12-
13-
@Override
14-
public void onCreate() {
15-
super.onCreate();
16-
if (LeakCanary.isInAnalyzerProcess(this)) {
17-
// This process is dedicated to LeakCanary for heap analysis.
18-
// You should not init your app in this process.
19-
return;
20-
}
21-
LeakCanary.install(this);
22-
}
2310
}

buildSrc/src/main/kotlin/Config.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,10 @@ object Config {
6161
}
6262

6363
object Misc {
64-
private const val leakCanaryVersion = "1.6.1"
64+
private const val leakCanaryVersion = "2.14"
6565
private const val glideVersion = "4.11.0"
6666

6767
const val leakCanary = "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
68-
const val leakCanaryFragments =
69-
"com.squareup.leakcanary:leakcanary-support-fragment:$leakCanaryVersion"
70-
const val leakCanaryNoop =
71-
"com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
7268

7369
const val glide = "com.github.bumptech.glide:glide:$glideVersion"
7470
const val glideCompiler = "com.github.bumptech.glide:compiler:$glideVersion"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)