34 lines
729 B
Groovy
34 lines
729 B
Groovy
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace 'com.yutou.netlibs'
|
||
|
compileSdk 34
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk 28
|
||
|
targetSdk 34
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
}
|
||
|
|
||
|
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 {
|
||
|
|
||
|
api 'com.squareup.okhttp3:okhttp:3.14.9'
|
||
|
api 'com.squareup.retrofit2:retrofit:2.3.0'
|
||
|
api 'com.alibaba.fastjson2:fastjson2:2.0.52'
|
||
|
|
||
|
}
|