45 lines
1.2 KiB
Groovy
45 lines
1.2 KiB
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 {
|
|
compileSdkVersion 32
|
|
buildToolsVersion "33.0.3"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 30
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// 二维码使用的类库
|
|
api 'com.google.zxing:core:3.4.1'
|
|
api 'com.journeyapps:zxing-android-embedded:3.6.0'
|
|
|
|
api 'io.github.medyo:android-about-page:2.0.0'
|
|
api 'com.github.getActivity:ToastUtils:10.5'
|
|
api 'com.jcraft:jsch:0.1.55'
|
|
api 'org.jsoup:jsoup:1.13.1'
|
|
api 'com.squareup.okhttp3:okhttp:4.4.1'
|
|
|
|
api 'androidx.appcompat:appcompat:1.0.0'
|
|
api 'androidx.fragment:fragment:1.0.0'
|
|
api 'com.google.android.material:material:1.0.0'
|
|
|
|
api 'cc.winboll.studio:libappbase:1.1.0'
|
|
|
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
|
}
|