43 lines
1.1 KiB
Groovy
43 lines
1.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "com.hnjc.wjtx.mi"
|
|
minSdkVersion 18
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "1.0.0"
|
|
ndk {
|
|
abiFilters 'armeabi-v7a'
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
sourceSets {
|
|
main {
|
|
assets.srcDirs = ['../assets']
|
|
aidl.srcDirs = ['aidl']
|
|
jniLibs.srcDirs = ['libs']//so&jar文件路径
|
|
}
|
|
debug.setRoot('build-types/debug')
|
|
release.setRoot('build-types/release')
|
|
}
|
|
buildToolsVersion '28.0.3'
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'com.android.volley:volley:1.1.1'
|
|
implementation 'org.greenrobot:eventbus:3.2.0'
|
|
}
|