ioq3quest/android/app/build.gradle

50 lines
1,017 B
Groovy
Raw Normal View History

2020-09-06 11:40:32 +00:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
ndkVersion "21.1.6352462"
2020-09-06 11:40:32 +00:00
defaultConfig {
applicationId = 'com.drbeef.ioq3quest'
2020-09-06 11:40:32 +00:00
minSdkVersion 25
targetSdkVersion 26
versionCode 1
versionName "1.0"
externalNativeBuild {
cmake {
arguments '-DANDROID_STL=c++_static'
}
}
ndk {
abiFilters 'arm64-v8a'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path 'src/main/cpp/CMakeLists.txt'
version '3.10.2'
}
}
sourceSets {
main {
jniLibs.srcDirs 'src/main/jniLibs'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2020-09-06 11:40:32 +00:00
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
2020-09-06 11:40:32 +00:00
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
}