49 lines
1.2 KiB
Groovy
Executable File
49 lines
1.2 KiB
Groovy
Executable File
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
buildToolsVersion "28.0.0"
|
|
defaultConfig {
|
|
applicationId "fishrungames.DoubleHitBalls"
|
|
minSdkVersion 24
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
externalNativeBuild {
|
|
cmake {
|
|
|
|
abiFilters "armeabi-v7a", "x86"
|
|
|
|
arguments "-DANDROID_STL=c++_shared"
|
|
|
|
cppFlags "-std=c++17 -frtti -fexceptions -fsigned-char -Wno-c++11-narrowing"
|
|
}
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
cmake {
|
|
path "CMakeLists.txt"
|
|
}
|
|
}
|
|
sourceSets {
|
|
main {
|
|
assets.srcDirs = ['../../assets/']
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'com.android.support:appcompat-v7:28+'
|
|
|
|
implementation project(':SalmonEngineAndroid')
|
|
}
|