@@ -21,15 +21,12 @@ apply plugin: 'kotlin-android'
21
21
apply plugin : ' kotlin-kapt'
22
22
23
23
android {
24
- compileSdkVersion 34
25
- compileOptions {
26
- sourceCompatibility JavaVersion . VERSION_17
27
- targetCompatibility JavaVersion . VERSION_17
28
- }
24
+ compileSdkVersion 35
25
+
29
26
defaultConfig {
30
27
applicationId " com.mobileer.androidfxlab"
31
28
minSdkVersion 21
32
- targetSdkVersion 34
29
+ targetSdkVersion 35
33
30
versionCode 1
34
31
versionName " 1.0"
35
32
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -40,6 +37,13 @@ android {
40
37
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
41
38
}
42
39
}
40
+ compileOptions {
41
+ sourceCompatibility = JavaVersion . VERSION_18
42
+ targetCompatibility = JavaVersion . VERSION_18
43
+ }
44
+ kotlinOptions {
45
+ jvmTarget = " 18"
46
+ }
43
47
externalNativeBuild {
44
48
cmake {
45
49
path " ./CMakeLists.txt"
@@ -53,13 +57,13 @@ android {
53
57
54
58
dependencies {
55
59
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
56
- implementation" org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
57
- implementation ' androidx.appcompat:appcompat:1.1 .0'
58
- implementation ' androidx.core:core-ktx:1.1 .0'
59
- implementation ' androidx.constraintlayout:constraintlayout:1.1.3 '
60
- implementation ' androidx.recyclerview:recyclerview:1.0 .0'
61
- implementation ' com.google.android.material:material:1.2.0-alpha01 '
62
- testImplementation ' junit:junit:4.12 '
63
- androidTestImplementation ' androidx.test:runner:1.2.0 '
64
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0 '
60
+ implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
61
+ implementation ' androidx.appcompat:appcompat:1.7 .0'
62
+ implementation ' androidx.core:core-ktx:1.15 .0'
63
+ implementation ' androidx.constraintlayout:constraintlayout:2.2.1 '
64
+ implementation ' androidx.recyclerview:recyclerview:1.4 .0'
65
+ implementation ' com.google.android.material:material:1.12.0 '
66
+ testImplementation ' junit:junit:4.13.2 '
67
+ androidTestImplementation ' androidx.test:runner:1.6.2 '
68
+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.6.1 '
65
69
}
0 commit comments