11plugins {
22 id ' com.android.application'
3- id ' kotlin- android'
3+ id ' org.jetbrains. kotlin. android'
44}
55
66android {
7- compileSdkVersion 30
8- buildToolsVersion " 30.0.3 "
7+ namespace ' io.elixirdesktop.example '
8+ compileSdk 33
99
1010 task buildNum(type : Exec , description : ' Update Elixir App' ) {
1111 commandLine ' ./run_mix' , ' package.mobile'
@@ -15,17 +15,17 @@ android {
1515 compileTask -> compileTask. dependsOn buildNum
1616 }
1717
18+
1819 defaultConfig {
19- applicationId ' io.elixirdesktop.example'
20- minSdkVersion 23
21- targetSdkVersion 30
20+ applicationId " io.elixirdesktop.example"
21+ minSdk 29
22+ targetSdk 33
2223 versionCode 1
2324 versionName " 1.0"
2425
2526 ndk {
2627 abiFilters " armeabi-v7a" , " arm64-v8a" , " x86_64"
2728 }
28-
2929 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
3030 externalNativeBuild {
3131 cmake {
@@ -51,7 +51,7 @@ android {
5151 externalNativeBuild {
5252 cmake {
5353 path file(' src/main/cpp/CMakeLists.txt' )
54- version ' 3.10.2 '
54+ version ' 3.22.1 '
5555 }
5656 }
5757 buildFeatures {
@@ -62,17 +62,16 @@ android {
6262 useLegacyPackaging = true
6363 }
6464 }
65- namespace ' io.elixirdesktop.example'
6665}
6766
6867dependencies {
6968 implementation fileTree(dir : " libs" , include : ' *.jar' )
7069
71- implementation " org.jetbrains.kotlin:kotlin-stdlib: $k otlin_version "
72- implementation ' androidx.core:core-ktx :1.5.0 '
73- implementation ' com.google.android.material:material:1.3 .0'
74- implementation ' androidx.constraintlayout:constraintlayout:2.0 .4'
75- testImplementation ' junit:junit:4.+ '
76- androidTestImplementation ' androidx.test.ext:junit:1.1.2 '
77- androidTestImplementation ' androidx.test.espresso:espresso-core:3.3.0 '
78- }
70+ implementation ' androidx.core:core-ktx:1.9.0 '
71+ implementation ' androidx.appcompat:appcompat :1.6.1 '
72+ implementation ' com.google.android.material:material:1.8 .0'
73+ implementation ' androidx.constraintlayout:constraintlayout:2.1 .4'
74+ testImplementation ' junit:junit:4.13.2 '
75+ androidTestImplementation ' androidx.test.ext:junit:1.1.5 '
76+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1 '
77+ }
0 commit comments