mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
Revert "feat(build): upgrade to AGP 8.1.0-beta01"
Newer AGP releases cause incorrect desugaring of the Crux dependency
This reverts commit 68a20e0d11
.
This commit is contained in:
parent
6f55da754c
commit
0cd4257e73
3 changed files with 4 additions and 7 deletions
|
@ -11,7 +11,6 @@ package dev.msfjarvis.claw.gradle
|
|||
import com.android.build.api.dsl.ApplicationExtension
|
||||
import com.android.build.api.dsl.LibraryExtension
|
||||
import com.android.build.api.variant.ApplicationAndroidComponentsExtension
|
||||
import com.android.build.api.variant.HasUnitTestBuilder
|
||||
import com.android.build.api.variant.LibraryAndroidComponentsExtension
|
||||
import com.android.build.gradle.BaseExtension
|
||||
import dev.msfjarvis.claw.gradle.LintConfig.configureLint
|
||||
|
@ -74,7 +73,7 @@ private fun Project.configureSlimTests() {
|
|||
// Disable unit test tasks on the release build type for Android Library projects
|
||||
extensions.findByType<LibraryAndroidComponentsExtension>()?.run {
|
||||
beforeVariants(selector().withBuildType("release")) {
|
||||
(it as HasUnitTestBuilder).enableUnitTest = false
|
||||
it.enableUnitTest = false
|
||||
it.enableAndroidTest = false
|
||||
}
|
||||
}
|
||||
|
@ -82,7 +81,7 @@ private fun Project.configureSlimTests() {
|
|||
// Disable unit test tasks on the release build type for Android Application projects.
|
||||
extensions.findByType<ApplicationAndroidComponentsExtension>()?.run {
|
||||
beforeVariants(selector().withBuildType("release")) {
|
||||
(it as HasUnitTestBuilder).enableUnitTest = false
|
||||
it.enableUnitTest = false
|
||||
it.enableAndroidTest = false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
*/
|
||||
@file:Suppress("UnstableApiUsage")
|
||||
|
||||
import com.android.build.api.variant.HasUnitTestBuilder
|
||||
|
||||
plugins {
|
||||
id("dev.msfjarvis.claw.android-library")
|
||||
id("dev.msfjarvis.claw.kotlin-android")
|
||||
|
@ -27,7 +25,7 @@ android {
|
|||
namespace = "dev.msfjarvis.claw.common"
|
||||
}
|
||||
|
||||
androidComponents { beforeVariants { (it as HasUnitTestBuilder).enableUnitTest = false } }
|
||||
androidComponents { beforeVariants { it.enableUnitTest = false } }
|
||||
|
||||
anvil { generateDaggerFactories.set(true) }
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[versions]
|
||||
accompanist = "0.30.1"
|
||||
agp = "8.1.0-beta01"
|
||||
agp = "8.0.0"
|
||||
coil = "2.3.0"
|
||||
# @keep used for kotlinCompilerExtensionVersion
|
||||
composeCompiler = "1.4.4"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue