Skip to content

Commit 6332722

Browse files
committed
Merge branch 'android-remote-main' into api-21
Change-Id: Idac609c7773a83fe1ab2b37d7976a099e390ace9
2 parents 696bd7d + 900b8b1 commit 6332722

File tree

6 files changed

+10
-22
lines changed

6 files changed

+10
-22
lines changed

.github/renovate.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55
],
66
"baseBranches": [
77
"main"
8+
],
9+
"gitIgnoredAuthors": [
10+
"41898282+github-actions[bot]@users.noreply.github.com"
811
]
9-
}
12+
}

.github/workflows/Build.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ jobs:
2626
- name: Checkout
2727
uses: actions/checkout@v4
2828

29-
- name: Enable KVM group perms
30-
run: |
31-
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
32-
sudo udevadm control --reload-rules
33-
sudo udevadm trigger --name-match=kvm
34-
ls /dev/kvm
35-
3629
- name: Copy CI gradle.properties
3730
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
3831

@@ -45,12 +38,6 @@ jobs:
4538
- name: Setup Gradle
4639
uses: gradle/actions/setup-gradle@v4
4740

48-
- name: Setup Android SDK
49-
uses: android-actions/setup-android@v3
50-
51-
- name: Accept licenses
52-
run: yes | sdkmanager --licenses || true
53-
5441
- name: Check build-logic
5542
run: ./gradlew check -p build-logic
5643

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ internal fun Project.configureAndroidCompose(
6767
.relativeToRootProject("compose-reports")
6868
.let(reportsDestination::set)
6969

70-
stabilityConfigurationFile =
71-
isolated.rootProject.projectDirectory.file("compose_compiler_config.conf")
70+
stabilityConfigurationFiles
71+
.add(isolated.rootProject.projectDirectory.file("compose_compiler_config.conf"))
7272
}
7373
}

core/data/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ android {
2525
testOptions {
2626
unitTests {
2727
isIncludeAndroidResources = true
28-
isReturnDefaultValues = true
2928
}
3029
}
3130
}

core/datastore/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ android {
2525
consumerProguardFiles("consumer-proguard-rules.pro")
2626
}
2727
namespace = "com.google.samples.apps.nowinandroid.core.datastore"
28-
testOptions {
29-
unitTests {
30-
isReturnDefaultValues = true
31-
}
32-
}
3328
}
3429

3530
dependencies {

gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,7 @@ android.defaults.buildfeatures.shaders=false
5858

5959
# Run Roborazzi screenshot tests with the local tests
6060
roborazzi.test.verify=true
61+
62+
# Prevent uninstall app after instrumented tests
63+
# https://issuetracker.google.com/issues/295039976
64+
android.injected.androidTest.leaveApksInstalledAfterRun=true

0 commit comments

Comments
 (0)