2015-05-15 16:37:43 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 22
|
|
|
|
buildToolsVersion "22.0.1"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.cocos2dx.cpp_tests"
|
|
|
|
minSdkVersion 10
|
|
|
|
targetSdkVersion 22
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main {
|
|
|
|
java.srcDir "src"
|
|
|
|
res.srcDir "res"
|
2015-05-18 13:41:58 +08:00
|
|
|
jniLibs.srcDir "libs"
|
2015-05-15 16:37:43 +08:00
|
|
|
manifest.srcFile "AndroidManifest.xml"
|
|
|
|
assets.srcDir "assets"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
compile 'com.android.support:appcompat-v7:22.1.1'
|
|
|
|
compile 'com.android.support:support-v4:22.1.1'
|
|
|
|
compile project(':libcocos2dx')
|
|
|
|
}
|