You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
942 B
37 lines
942 B
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger()
|
|
|
|
defaultConfig {
|
|
minSdkVersion PROP_MIN_SDK_VERSION
|
|
targetSdkVersion PROP_TARGET_SDK_VERSION
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
sourceSets.main {
|
|
java.srcDirs "src"
|
|
res.srcDirs 'res'
|
|
jniLibs.srcDirs 'libs'
|
|
manifest.srcFile "AndroidManifest.xml"
|
|
}
|
|
|
|
buildDir = new File(rootProject.buildDir, project.name)
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar','*.aar'])
|
|
implementation project(':libcocos')
|
|
}
|
|
|