70 lines
2.1 KiB
Groovy
70 lines
2.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion = 32
|
|
ndkVersion = '23.1.7779620'
|
|
defaultConfig {
|
|
applicationId = 'com.tutpro.baresip'
|
|
minSdkVersion 21
|
|
targetSdkVersion 32
|
|
versionCode = 225
|
|
versionName = '47.1.0'
|
|
externalNativeBuild {
|
|
cmake {
|
|
cFlags '-DHAVE_INTTYPES_H'
|
|
version '3.18.1'
|
|
}
|
|
}
|
|
ndk {
|
|
abiFilters 'armeabi-v7a', 'arm64-v8a'
|
|
}
|
|
lintOptions {
|
|
checkDependencies true
|
|
}
|
|
}
|
|
splits {
|
|
abi {
|
|
reset()
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),
|
|
'proguard-rules.pro'
|
|
}
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path 'src/main/cpp/CMakeLists.txt'
|
|
}
|
|
}
|
|
namespace 'com.tutpro.baresip'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.4.2'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
implementation 'com.google.android.material:material:1.6.1'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
|
|
implementation "androidx.preference:preference-ktx:1.2.0"
|
|
implementation "androidx.exifinterface:exifinterface:1.3.3"
|
|
implementation "androidx.core:core-ktx:1.8.0"
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1'
|
|
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
|
implementation "androidx.activity:activity-ktx:1.5.0"
|
|
implementation "androidx.fragment:fragment-ktx:1.5.0"
|
|
implementation 'androidx.media:media:1.6.0'
|
|
}
|