kaliber/build/android/app/build.gradle

50 lines
1.3 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 29
ndkVersion '21.3.6528147'
defaultConfig {
applicationId = 'com.woom.game'
minSdkVersion 21
targetSdkVersion 29
externalNativeBuild {
cmake {
arguments '-DANDROID_STL=c++_static'
}
}
ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64'
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
ndk {
debugSymbolLevel 'FULL'
}
}
}
externalNativeBuild {
cmake {
version '3.10.2'
path 'CMakeLists.txt'
}
}
sourceSets {
main {
java.srcDirs += ['../../../src/engine/platform/java/com/kaliber/base']
assets.srcDirs = ['../../../assets']
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.gms:play-services-ads:19.1.0'
}