Skip to content

Commit dbd8a45

Browse files
committed
refactor: API 34 support
1 parent a09b5dd commit dbd8a45

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ android {
1515
defaultConfig {
1616
applicationId = AppConfig.appId
1717
minSdk = AppConfig.minSdkVersion
18-
targetSdk = AppConfig.targetSdlVersion
18+
targetSdk = AppConfig.targetSdkVersion
1919
versionCode = 15
2020
versionName = "2.2.1"
2121
vectorDrawables.useSupportLibrary = true
@@ -62,8 +62,8 @@ android {
6262
}
6363

6464
buildFeatures {
65-
android.buildFeatures.viewBinding = true
66-
android.buildFeatures.dataBinding = true
65+
viewBinding = true
66+
dataBinding = true
6767
compose = true
6868
}
6969

buildSrc/src/main/kotlin/AppConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ object AppConfig {
22
val devCycle = false
33

44
const val appId = "com.androidvip.sysctlgui"
5-
const val compileSdkVersion = 33
5+
const val compileSdkVersion = 34
66
const val minSdkVersion = 21
7-
const val targetSdlVersion = 33
7+
const val targetSdkVersion = 34
88

99
const val testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
1010
const val proguardConsumerRules = "consumer-rules.pro"

common/design/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99

1010
defaultConfig {
1111
minSdk = AppConfig.minSdkVersion
12-
targetSdk = AppConfig.targetSdlVersion
12+
targetSdk = AppConfig.targetSdkVersion
1313

1414
testInstrumentationRunner = AppConfig.testInstrumentationRunner
1515
consumerProguardFiles(AppConfig.proguardConsumerRules)

common/utils/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99

1010
defaultConfig {
1111
minSdk = AppConfig.minSdkVersion
12-
targetSdk = AppConfig.targetSdlVersion
12+
targetSdk = AppConfig.targetSdkVersion
1313

1414
testInstrumentationRunner = AppConfig.testInstrumentationRunner
1515
consumerProguardFiles(AppConfig.proguardConsumerRules)

data/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import org.jetbrains.kotlin.config.KotlinCompilerVersion
2-
31
plugins {
42
id("com.android.library")
53
kotlin("android")
@@ -12,7 +10,7 @@ android {
1210

1311
defaultConfig {
1412
minSdk = AppConfig.minSdkVersion
15-
targetSdk = AppConfig.targetSdlVersion
13+
targetSdk = AppConfig.targetSdkVersion
1614
javaCompileOptions {
1715
annotationProcessorOptions {
1816
arguments += mapOf(

0 commit comments

Comments
 (0)