Skip to content

Commit

Permalink
Use constants for API 35
Browse files Browse the repository at this point in the history
  • Loading branch information
fobo66 committed Oct 21, 2024
1 parent 8719ee8 commit 75a4b02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ plugins {
}

android {
compileSdk = 35
compileSdk = VersionCodes.VANILLA_ICE_CREAM

defaultConfig {
applicationId = "dev.fobo66.factcheckerassistant"
minSdk = VersionCodes.N
targetSdk = 35
targetSdk = VersionCodes.VANILLA_ICE_CREAM
versionCode = 1
versionName = "1.0"

Expand Down
10 changes: 5 additions & 5 deletions baselineprofile/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import com.android.build.api.dsl.ManagedVirtualDevice
import com.android.sdklib.AndroidVersion
import com.android.sdklib.AndroidVersion.VersionCodes

plugins {
alias(libs.plugins.android.test)
Expand All @@ -10,7 +10,7 @@ plugins {

android {
namespace = "dev.fobo66.baselineprofile"
compileSdk = AndroidVersion.VersionCodes.UPSIDE_DOWN_CAKE
compileSdk = VersionCodes.VANILLA_ICE_CREAM

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -22,8 +22,8 @@ android {
}

defaultConfig {
minSdk = AndroidVersion.VersionCodes.P
targetSdk = AndroidVersion.VersionCodes.UPSIDE_DOWN_CAKE
minSdk = VersionCodes.P
targetSdk = VersionCodes.UPSIDE_DOWN_CAKE

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand All @@ -33,7 +33,7 @@ android {
testOptions.managedDevices.devices {
create<ManagedVirtualDevice>("pixel6Api34") {
device = "Pixel 6"
apiLevel = AndroidVersion.VersionCodes.UPSIDE_DOWN_CAKE
apiLevel = VersionCodes.UPSIDE_DOWN_CAKE
systemImageSource = "google"
}
}
Expand Down
2 changes: 1 addition & 1 deletion composemd/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

android {
compileSdk = 35
compileSdk = VersionCodes.VANILLA_ICE_CREAM

defaultConfig {
minSdk = VersionCodes.N
Expand Down

0 comments on commit 75a4b02

Please sign in to comment.