mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 23:27:04 +05:30
fix(build): workaround IDE bug with BaseAppModuleExtension
This commit is contained in:
parent
c2e609bdf7
commit
241a8ca426
1 changed files with 4 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
@file:Suppress("UnstableApiUsage")
|
||||
|
||||
import com.android.build.api.dsl.ApplicationExtension
|
||||
import dev.msfjarvis.claw.gradle.addTestDependencies
|
||||
import org.jetbrains.kotlin.compose.compiler.gradle.ComposeFeatureFlag
|
||||
|
||||
|
@ -30,7 +31,8 @@ plugins {
|
|||
alias(libs.plugins.screenshot)
|
||||
}
|
||||
|
||||
android {
|
||||
// Directly using the generated `android` accessor lights up bright red
|
||||
extensions.configure<ApplicationExtension> {
|
||||
namespace = "dev.msfjarvis.claw.android"
|
||||
defaultConfig.applicationId = "dev.msfjarvis.claw.android"
|
||||
defaultConfig.testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
@ -39,7 +41,7 @@ android {
|
|||
matchingFallbacks += "release"
|
||||
signingConfig = signingConfigs["debug"]
|
||||
applicationIdSuffix = ".internal"
|
||||
debuggable(true)
|
||||
isDebuggable = true
|
||||
}
|
||||
experimentalProperties["android.experimental.enableScreenshotTest"] = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue