45 lines
1.3 KiB
Groovy
45 lines
1.3 KiB
Groovy
|
apply plugin: 'com.android.application'
|
||
|
apply plugin: 'kotlin-android'
|
||
|
apply plugin: 'kotlin-android-extensions'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 30
|
||
|
buildToolsVersion "30.0.0"
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId "com.example.myapplication"
|
||
|
minSdkVersion 16
|
||
|
targetSdkVersion 35
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
externalNativeBuild {
|
||
|
cmake {
|
||
|
path "src/main/cpp/CMakeLists.txt"
|
||
|
}
|
||
|
}
|
||
|
ndk {
|
||
|
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
||
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
||
|
implementation 'androidx.core:core-ktx:1.0.2'
|
||
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||
|
testImplementation 'junit:junit:4.12'
|
||
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
||
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||
|
}
|