2019-11-23 20:27:39 +08:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2023-09-12 01:13:06 +08:00
|
|
|
namespace "org.axmol.lib"
|
|
|
|
compileSdk PROP_COMPILE_SDK_VERSION.toInteger()
|
2019-11-23 20:27:39 +08:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion PROP_MIN_SDK_VERSION
|
|
|
|
targetSdkVersion PROP_TARGET_SDK_VERSION
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets.main {
|
|
|
|
aidl.srcDir "../java/src"
|
|
|
|
java.srcDirs = ['../java/src','../ControllerManualAdapter/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'])
|
|
|
|
implementation fileTree(dir: '../ControllerManualAdapter/libs', include: ['*.jar'])
|
|
|
|
}
|