mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 01:17:05 +05:30
all: cleanup gradle config
This commit is contained in:
parent
e715e644f1
commit
356da53afb
3 changed files with 0 additions and 35 deletions
|
@ -1,7 +1,5 @@
|
|||
@file:Suppress("DSL_SCOPE_VIOLATION")
|
||||
|
||||
import com.android.build.api.dsl.ManagedVirtualDevice
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.test)
|
||||
id("dev.msfjarvis.claw.android-common")
|
||||
|
@ -14,38 +12,15 @@ android {
|
|||
defaultConfig { testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" }
|
||||
|
||||
buildTypes {
|
||||
// This benchmark buildType is used for benchmarking, and should function like your
|
||||
// release build (for example, with minification on). It's signed with a debug key
|
||||
// for easy local/CI testing.
|
||||
create("benchmark") {
|
||||
isDebuggable = true
|
||||
signingConfig = getByName("debug").signingConfig
|
||||
matchingFallbacks += listOf("release")
|
||||
setProguardFiles(
|
||||
listOf(
|
||||
"proguard-android-optimize.pro",
|
||||
"proguard-rules.pro",
|
||||
"proguard-rules-missing-classes.pro",
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
targetProjectPath = ":android"
|
||||
experimentalProperties["android.experimental.self-instrumenting"] = true
|
||||
|
||||
testOptions {
|
||||
managedDevices {
|
||||
devices {
|
||||
register<ManagedVirtualDevice>("pixel2api30") {
|
||||
device = "Pixel 2"
|
||||
apiLevel = 30
|
||||
systemImageSource = "aosp"
|
||||
require64Bit = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
3
benchmark/proguard-rules.pro
vendored
3
benchmark/proguard-rules.pro
vendored
|
@ -1,3 +0,0 @@
|
|||
-keep class dev.msfjarvis.claw.benchmark.BaselineProfileGenerator {
|
||||
*;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue