35 lines
838 B
Groovy
35 lines
838 B
Groovy
apply plugin: 'com.android.library'
|
||
apply plugin: 'maven-publish'
|
||
apply from: '../.winboll/winboll_lib_build.gradle'
|
||
apply from: '../.winboll/winboll_lint_build.gradle'
|
||
|
||
android {
|
||
// 适配MIUI12
|
||
compileSdkVersion 30
|
||
buildToolsVersion "30.0.3"
|
||
|
||
defaultConfig {
|
||
minSdkVersion 21
|
||
targetSdkVersion 30
|
||
}
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled false
|
||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
}
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
// 网络连接类库
|
||
api 'com.squareup.okhttp3:okhttp:4.4.1'
|
||
// Gson
|
||
api 'com.google.code.gson:gson:2.8.9'
|
||
// Html 解析
|
||
api 'org.jsoup:jsoup:1.13.1'
|
||
// 添加JSch依赖(SFTP核心,com.jcraft:jsch:0.1.54)
|
||
api 'com.jcraft:jsch:0.1.54'
|
||
|
||
api fileTree(dir: 'libs', include: ['*.jar'])
|
||
}
|