axmol/cocos/platform/android/libcocos2dx/build.gradle

31 lines
716 B
Groovy
Raw Normal View History

2015-05-15 16:37:43 +08:00
apply plugin: 'com.android.library'
android {
2017-06-05 11:35:48 +08:00
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
buildToolsVersion '27.0.1'
2015-05-15 16:37:43 +08:00
defaultConfig {
2017-06-05 11:35:48 +08:00
minSdkVersion PROP_MIN_SDK_VERSION
targetSdkVersion PROP_TARGET_SDK_VERSION
2015-05-15 16:37:43 +08:00
versionCode 1
versionName "1.0"
}
sourceSets.main {
aidl.srcDir "../java/src"
2015-05-15 16:37:43 +08:00
java.srcDir "../java/src"
manifest.srcFile "AndroidManifest.xml"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: '../java/libs', include: ['*.jar'])
2015-05-15 16:37:43 +08:00
}