Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit c6d4467

Browse files
committed
Minor tweaks to Implement App Startup #376.
* This change buid on #376. * We don't really need `AnalyticsHelperInitializer` here. This is because the `AppModule` already `@Provides` the depency.
1 parent cbabe05 commit c6d4467

File tree

6 files changed

+5
-84
lines changed

6 files changed

+5
-84
lines changed

buildSrc/src/main/java/Versions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ object Versions {
2323
const val TARGET_SDK = 30
2424
const val MIN_SDK = 21
2525

26-
const val ANDROID_GRADLE_PLUGIN = "7.0.0-beta03"
26+
const val ANDROID_GRADLE_PLUGIN = "7.0.0-beta05"
2727
const val BENCHMARK = "1.0.0"
2828
const val COMPOSE = "1.0.0-beta04"
2929
const val FIREBASE_CRASHLYTICS = "2.3.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Feb 10 08:38:31 CET 2021
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

macrobenchmark/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ android {
88
defaultConfig {
99
minSdkVersion 29
1010
targetSdkVersion 30
11-
versionCode 1
12-
versionName "1.0"
1311

1412
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1513
}
@@ -31,14 +29,14 @@ android {
3129
}
3230

3331
targetProjectPath = ":mobile"
34-
properties["android.experimental.self-instrumenting"] = true
32+
experimentalProperties["android.experimental.self-instrumenting"] = true
3533
}
3634

3735
androidComponents {
3836
beforeVariants(selector().all()) {
3937
// enable only the release buildType, since we only want to measure
4038
// release build performance
41-
enable = buildType == 'release'
39+
enabled = buildType == 'release'
4240
}
4341
}
4442

mobile/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@
107107
<meta-data
108108
android:name="com.google.samples.apps.iosched.util.initializers.TimberInitializer"
109109
android:value="androidx.startup" />
110-
<meta-data
111-
android:name="com.google.samples.apps.iosched.util.initializers.AnalyticsHelperInitializer"
112-
android:value="androidx.startup" />
110+
113111
</provider>
114112
<!-- enable profiling by macrobenchmark -->
115113
<profileable

mobile/src/main/java/com/google/samples/apps/iosched/di/InitializerEntryPoint.kt

Lines changed: 0 additions & 40 deletions
This file was deleted.

mobile/src/main/java/com/google/samples/apps/iosched/util/initializers/AnalyticsHelperInitializer.kt

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)