39 lines
759 B
Groovy
39 lines
759 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 32
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 32
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
consumerProguardFiles 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
// 引入 SudMGPSDK
|
|
// api project(':SudMGPSDK')
|
|
api 'tech.sud.mgp:SudMGP:1.3.6.1181'
|
|
// gson
|
|
api 'com.google.code.gson:gson:2.8.6'
|
|
// 依赖okhttp
|
|
api 'com.squareup.okhttp3:okhttp:4.9.2'
|
|
|
|
|
|
|
|
} |