mirror of
https://gitee.com/willfree/min-vpn-client_v2.git
synced 2026-06-03 15:36:14 +08:00
85 lines
2.4 KiB
Groovy
85 lines
2.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion compile_sdk_version
|
|
|
|
defaultConfig {
|
|
minSdkVersion min_sdk_version
|
|
targetSdkVersion target_sdk_version
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
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 {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "androidx.appcompat:appcompat:${appcompact_version}"
|
|
testImplementation "junit:junit:${junit_version}"
|
|
implementation "androidx.constraintlayout:constraintlayout:${constraintlayout_version}"
|
|
androidTestImplementation "androidx.test:runner:${test_runner_version}"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:${espresso_core_version}"
|
|
|
|
// gson
|
|
api "com.google.code.gson:gson:${gson_version}"
|
|
|
|
// Glide
|
|
api "com.github.bumptech.glide:glide:${glide_version}"
|
|
kapt "com.github.bumptech.glide:compiler:${glide_version}"
|
|
|
|
|
|
// Easypermission
|
|
api "pub.devrel:easypermissions:${easypermission_version}"
|
|
|
|
// RxJava
|
|
// RxAndroid
|
|
api "io.reactivex.rxjava2:rxandroid:${rx_android_version}"
|
|
api "io.reactivex.rxjava2:rxjava:${rx_java}"
|
|
// RxKotlin
|
|
api "io.reactivex.rxjava2:rxkotlin:${rx_kotlin}"
|
|
|
|
// BRVAH
|
|
api "com.github.CymChad:BaseRecyclerViewAdapterHelper:${brvah_version}"
|
|
|
|
// Retrofit
|
|
api "com.squareup.retrofit2:retrofit:${retrofit_version}"
|
|
api "com.squareup.retrofit2:retrofit:${retrofit_version}"
|
|
api "com.squareup.retrofit2:adapter-rxjava2:${retrofit_version}"
|
|
api "com.squareup.retrofit2:converter-gson:${retrofit_version}"
|
|
|
|
// Okhttp
|
|
api "com.squareup.okhttp3:okhttp:${okhttp_version}"
|
|
|
|
// Logger
|
|
api "com.orhanobut:logger:${logger_vesion}"
|
|
|
|
// ParallaxBackLayout
|
|
api "com.github.SunnyQjm:ParallaxBackLayout:${parallax_layout_version}"
|
|
|
|
// ImmersionBar
|
|
api "com.gyf.immersionbar:immersionbar:${immersion_bar_version}"
|
|
|
|
|
|
}
|