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

Commit 56094f9

Browse files
committed
Merge branch 'main' into benchmarking
# Conflicts: # ar/build.gradle.kts # benchmark/build.gradle.kts # buildSrc/src/main/java/Versions.kt # depconstraints/build.gradle.kts # gradle/wrapper/gradle-wrapper.properties # mobile/build.gradle.kts # shared/build.gradle.kts
2 parents f1c0340 + 039fdd7 commit 56094f9

File tree

58 files changed

+463
-364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+463
-364
lines changed

androidTest-shared/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030

3131
lint {
3232
// Version changes are beyond our control, so don't warn. The IDE will still mark these.
33-
disable("GradleDependency")
33+
disable += "GradleDependency"
3434
}
3535
}
3636

ar/build.gradle.kts

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ android {
3333
maybeCreate("staging")
3434
getByName("staging") {
3535
initWith(getByName("debug"))
36+
3637
// Specifies a sorted list of fallback build types that the
3738
// plugin should try to use when a dependency does not include a
3839
// "staging" build type.
@@ -51,9 +52,9 @@ android {
5152
}
5253

5354
lint {
54-
disable("InvalidPackage")
55+
disable += "InvalidPackage"
5556
// Version changes are beyond our control, so don't warn. The IDE will still mark these.
56-
disable("GradleDependency")
57+
disable += "GradleDependency"
5758
}
5859

5960
// Required by ArWebView

benchmark/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

benchmark/src/androidTest/java/com/google/samples/apps/iosched/benchmark/LoadAgendaUseCaseBenchmark.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import com.google.samples.apps.iosched.shared.result.data
2929
import com.google.samples.apps.iosched.shared.result.succeeded
3030
import com.google.samples.apps.iosched.test.data.MainCoroutineRule
3131
import com.jakewharton.threetenabp.AndroidThreeTen
32-
import kotlinx.coroutines.test.runBlockingTest
32+
import kotlinx.coroutines.test.runTest
3333
import org.hamcrest.MatcherAssert.assertThat
3434
import org.hamcrest.collection.IsCollectionWithSize.hasSize
3535
import org.hamcrest.core.Is.`is`
@@ -61,7 +61,7 @@ class LoadAgendaUseCaseBenchmark {
6161
)
6262

6363
benchmarkRule.measureRepeated {
64-
coroutineRule.testDispatcher.runBlockingTest {
64+
runTest {
6565
val result: Result<List<Block>> = useCase.invoke(parameters = true)
6666

6767
assertThat(result.succeeded, `is`(true))

buildSrc/src/main/java/Versions.kt

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ object Versions {
2323
const val TARGET_SDK = 30
2424
const val MIN_SDK = 21
2525

26-
const val ANDROID_GRADLE_PLUGIN = "7.0.3"
27-
const val BENCHMARK = "1.2.0-beta05"
28-
const val COMPOSE = "1.0.5"
26+
const val ANDROID_GRADLE_PLUGIN = "7.1.2"
27+
const val BENCHMARK = "1.1.0-beta05"
28+
const val COMPOSE = "1.1.1"
2929
const val FIREBASE_CRASHLYTICS = "2.3.0"
3030
const val GOOGLE_SERVICES = "4.3.3"
31-
const val KOTLIN = "1.5.31"
32-
const val NAVIGATION = "2.3.5"
33-
const val HILT_AGP = "2.40.2"
31+
const val KOTLIN = "1.6.10"
32+
const val NAVIGATION = "2.4.1"
33+
const val HILT_AGP = "2.40.5"
3434

3535
// TODO: Remove this once the version for
3636
// "org.threeten:threetenbp:${Versions.threetenbp}:no-tzdb" using java-platform in the

depconstraints/build.gradle.kts

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ val compose = Versions.COMPOSE
3333
val composeMaterial = "1.1.0"
3434
val constraintLayout = "1.1.3"
3535
val core = "1.3.2"
36-
val coroutines = "1.4.2"
37-
val coroutinesTest = "1.3.4"
36+
val coroutines = "1.6.0"
37+
val coroutinesTest = "1.6.0"
3838
val crashlytics = "17.2.2"
3939
val dataStore = "1.0.0-beta01"
4040
val drawerLayout = "1.1.0-rc01"
@@ -65,7 +65,7 @@ val okhttp = "3.10.0"
6565
val okio = "1.14.0"
6666
val pageIndicator = "1.3.0"
6767
val playCore = "1.6.5"
68-
val room = "2.3.0"
68+
val room = "2.4.2"
6969
val rules = "1.1.1"
7070
val runner = "1.2.0"
7171
val slidingpanelayout = "1.2.0-alpha01"
@@ -97,7 +97,7 @@ dependencies {
9797
api("${Libs.CONSTRAINT_LAYOUT}:$constraintLayout")
9898
api("${Libs.CORE_KTX}:$core")
9999
api("${Libs.COROUTINES}:$coroutines")
100-
api("${Libs.COROUTINES_TEST}:$coroutines")
100+
api("${Libs.COROUTINES_TEST}:$coroutinesTest")
101101
api("${Libs.CRASHLYTICS}:$crashlytics")
102102
api("${Libs.DATA_STORE_PREFERENCES}:$dataStore")
103103
api("${Libs.DRAWER_LAYOUT}:$drawerLayout")

gradle/wrapper/gradle-wrapper.jar

5.08 KB
Binary file not shown.
+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Wed Feb 10 08:38:31 CET 2021
21
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
64
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)