miduo_client/AndroidSDK/app/build.gradle

85 lines
3.2 KiB
Groovy

apply plugin: 'com.android.library'
//apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
// applicationId "com.bluewhale.jieling"
// applicationId "com.mht.tcxcsb.project"
minSdkVersion 15
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk { abiFilters 'armeabi' }
}
repositories { flatDir { dirs 'libs' } }
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
buildToolsVersion '29.0.3'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
task makeJar(type: Copy) {
delete'build/libs/main.jar'
from('build/intermediates/intermediate-jars/debug/')
into('build/libs/')
include('classes.jar')
rename ('classes.jar','main.jar')
}
makeJar.dependsOn(build)
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation files('libs/android-support-v4.jar')
implementation files('libs/android-support-multidex.jar')
implementation files('libs/wechat-sdk.jar')
implementation files('libs/PSDK/GDTActionSDK.min.1.6.4.aar')
implementation files('libs/PSDK/mhtsdk.aar')
implementation files('libs/PSDK/onelogin.aar')
implementation files('libs/PSDK/RangersAppLog-Lite-cn-3.3.12.aar')
implementation files('libs/PSDK/psdk_mht.aar')
implementation files('libs/PSDK/psdk.aar')
implementation files('libs/PSDK/miit_mdid_1.0.10.aar')
implementation files('libs/KTSDK/adapter-rxjava-2.4.0.jar')
implementation files('libs/KTSDK/converter-fastjson-2.1.0.jar')
implementation files('libs/KTSDK/fastjson-1.1.68.android.jar')
implementation files('libs/KTSDK/ktdeviceutil_1.5.jar')
implementation files('libs/KTSDK/logging-interceptor-3.11.0.jar')
implementation files('libs/KTSDK/okhttp-3.11.0.jar')
implementation files('libs/KTSDK/okio-1.14.0.jar')
implementation files('libs/KTSDK/org.apache.http.legacy.jar')
implementation files('libs/KTSDK/permissionutil.jar')
implementation files('libs/KTSDK/retrofit-2.4.0.jar')
implementation files('libs/KTSDK/rxandroid-1.2.1.jar')
implementation files('libs/KTSDK/rxjava-1.3.8.jar')
implementation files('libs/KTSDK/sjsdklibrary_3.1.1_5119.jar')
implementation (name: 'LDSDK/MHTHWSDK_1.1.4', ext: 'aar')
implementation 'com.facebook.android:facebook-android-sdk:[5,6)'
implementation 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.firebase:firebase-core:16.0.7'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.appsflyer:af-android-sdk:4.10.2'
implementation 'com.android.installreferrer:installreferrer:1.0'
implementation 'com.adjust.sdk:adjust-android:4.22.0'
// unity
implementation files('libs/Unity/classes.jar')
}