Skip to content

Commit

Permalink
feat: Add config settings
Browse files Browse the repository at this point in the history
  • Loading branch information
behzodhalil committed Jul 3, 2023
1 parent 0b3f91c commit 2992ac3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions buildSrc/src/main/kotlin/Configs.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
object Configs {
const val minSdk = 24
const val targetSdk = 33
const val compileSdk = 33
const val versionCode = 1
const val jvmTarget = "11"
}
8 changes: 4 additions & 4 deletions samples/counter-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ android {

defaultConfig {
applicationId = "io.spherelabs.countercompose"
minSdk = 24
targetSdk = 33
versionCode = 1
minSdk = Configs.minSdk
targetSdk = Configs.targetSdk
versionCode = Configs.versionCode
versionName = "1.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -36,7 +36,7 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "11"
jvmTarget = Configs.jvmTarget
}
buildFeatures {
compose = true
Expand Down

0 comments on commit 2992ac3

Please sign in to comment.