55 lines
1.4 KiB
Groovy
Executable File
55 lines
1.4 KiB
Groovy
Executable File
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
buildToolsVersion "28.0.0"
|
|
defaultConfig {
|
|
applicationId "fishrungames.DoubleHitBalls"
|
|
minSdkVersion 19
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
externalNativeBuild {
|
|
cmake {
|
|
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86'
|
|
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/']
|
|
}
|
|
}
|
|
splits {
|
|
abi {
|
|
enable true
|
|
reset()
|
|
include 'arm64-v8a', 'armeabi-v7a', 'x86'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation 'com.android.support:appcompat-v7:28+'
|
|
|
|
implementation project(':SalmonEngineAndroid')
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|