Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit ab87e9c

Browse files
committed
fix(build): temporarily downgrade AGP to stable track
Fixes #2820
1 parent a4869ef commit ab87e9c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

build-logic/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
plugins { `kotlin-dsl` }
77

8-
kotlin.jvmToolchain(20)
8+
kotlin.jvmToolchain(17)
99

1010
gradlePlugin {
1111
plugins {

build-logic/src/main/kotlin/app/passwordstore/gradle/flavors/SlimTests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal fun Project.configureSlimTests() {
2525
extensions.findByType<LibraryAndroidComponentsExtension>()?.run {
2626
beforeVariants(selector().withBuildType(BUILD_TYPE_RELEASE)) {
2727
(it as HasUnitTestBuilder).enableUnitTest = false
28-
it.androidTest.enable = false
28+
it.enableAndroidTest = true
2929
}
3030
}
3131

@@ -37,7 +37,7 @@ internal fun Project.configureSlimTests() {
3737
}
3838
beforeVariants(selector().withFlavor(FlavorDimensions.FREE to ProductFlavors.NON_FREE)) {
3939
(it as HasUnitTestBuilder).enableUnitTest = false
40-
it.androidTest.enable = false
40+
it.enableAndroidTest = true
4141
}
4242
}
4343
}

gradle/libs.versions.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[versions]
2-
agp = "8.3.0-alpha16"
2+
# Not using alpha track due to installRelease regression
3+
# https://issuetracker.google.com/issues/315337463
4+
agp = "8.2.0"
35
androidxActivity = "1.8.2"
46
bouncycastle = "1.77"
57
moshi = "1.15.0"

0 commit comments

Comments
 (0)