Skip to content

Commit 8c88df0

Browse files
authored
Merge pull request #1140 from android/av/agp-8.3.x
Update AGP to 8.3.0
2 parents 1135918 + 1d91231 commit 8c88df0

File tree

15 files changed

+66
-15
lines changed

15 files changed

+66
-15
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,12 @@ dependencies {
113113

114114
testDemoImplementation(libs.robolectric)
115115
testDemoImplementation(libs.roborazzi)
116+
testDemoImplementation(projects.core.screenshotTesting)
116117

117118
androidTestImplementation(projects.core.testing)
118119
androidTestImplementation(projects.core.dataTest)
119120
androidTestImplementation(projects.core.datastoreTest)
121+
androidTestImplementation(libs.androidx.test.espresso.core)
120122
androidTestImplementation(libs.androidx.navigation.testing)
121123
androidTestImplementation(libs.accompanist.testharness)
122124
androidTestImplementation(libs.hilt.android.testing)

build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/AndroidCompose.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2626
* Configure Compose-specific options
2727
*/
2828
internal fun Project.configureAndroidCompose(
29-
commonExtension: CommonExtension<*, *, *, *, *>,
29+
commonExtension: CommonExtension<*, *, *, *, *, *>,
3030
) {
3131
commonExtension.apply {
3232
buildFeatures {

build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/GradleManagedDevices.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import org.gradle.kotlin.dsl.invoke
2525
* Configure project for Gradle managed devices
2626
*/
2727
internal fun configureGradleManagedDevices(
28-
commonExtension: CommonExtension<*, *, *, *, *>,
28+
commonExtension: CommonExtension<*, *, *, *, *, *>,
2929
) {
3030
val pixel4 = DeviceConfig("Pixel 4", 30, "aosp-atd")
3131
val pixel6 = DeviceConfig("Pixel 6", 31, "aosp")

build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/KotlinAndroid.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
3030
* Configure base Kotlin with Android options
3131
*/
3232
internal fun Project.configureKotlinAndroid(
33-
commonExtension: CommonExtension<*, *, *, *, *>,
33+
commonExtension: CommonExtension<*, *, *, *, *, *>,
3434
) {
3535
commonExtension.apply {
3636
compileSdk = 34

build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/NiaFlavor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ enum class NiaFlavor(val dimension: FlavorDimension, val applicationIdSuffix: St
2020
}
2121

2222
fun configureFlavors(
23-
commonExtension: CommonExtension<*, *, *, *, *>,
23+
commonExtension: CommonExtension<*, *, *, *, *, *>,
2424
flavorConfigurationBlock: ProductFlavor.(flavor: NiaFlavor) -> Unit = {}
2525
) {
2626
commonExtension.apply {

core/designsystem/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ dependencies {
4747
testImplementation(libs.hilt.android.testing)
4848
testImplementation(libs.robolectric)
4949
testImplementation(libs.roborazzi)
50+
testImplementation(projects.core.screenshotTesting)
5051
testImplementation(projects.core.testing)
5152

5253
androidTestImplementation(libs.androidx.compose.ui.test)

core/screenshot-testing/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Copyright 2022 The Android Open Source Project
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
plugins {
17+
alias(libs.plugins.nowinandroid.android.library)
18+
alias(libs.plugins.nowinandroid.android.library.compose)
19+
alias(libs.plugins.nowinandroid.android.hilt)
20+
}
21+
22+
android {
23+
namespace = "com.google.samples.apps.nowinandroid.core.screenshottesting"
24+
}
25+
26+
dependencies {
27+
api(libs.roborazzi)
28+
implementation(libs.accompanist.testharness)
29+
implementation(libs.androidx.activity.compose)
30+
implementation(libs.androidx.compose.ui.test)
31+
implementation(libs.robolectric)
32+
implementation(projects.core.common)
33+
implementation(projects.core.designsystem)
34+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright 2022 The Android Open Source Project
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<manifest />

core/testing/src/main/kotlin/com/google/samples/apps/nowinandroid/core/testing/util/ScreenshotHelper.kt renamed to core/screenshot-testing/src/main/kotlin/com/google/samples/apps/nowinandroid/core/testing/util/ScreenshotHelper.kt

File renamed without changes.

0 commit comments

Comments
 (0)