mirror of
https://gitee.com/willfree/min-vpn-client_v2.git
synced 2026-06-06 17:19:30 +08:00
60 lines
1.7 KiB
Groovy
60 lines
1.7 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
def AUTO_DISPOSE_VERSION = "1.3.0"
|
|
|
|
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}"
|
|
androidTestImplementation "androidx.test:runner:${test_runner_version}"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:${espresso_core_version}"
|
|
|
|
// AutoDispose
|
|
implementation "com.uber.autodispose:autodispose:${AUTO_DISPOSE_VERSION}"
|
|
implementation "com.uber.autodispose:autodispose-android:${AUTO_DISPOSE_VERSION}"
|
|
implementation "com.uber.autodispose:autodispose-lifecycle:${AUTO_DISPOSE_VERSION}"
|
|
implementation "com.uber.autodispose:autodispose-android-archcomponents:${AUTO_DISPOSE_VERSION}"
|
|
|
|
|
|
|
|
// PersistentCookieJar
|
|
implementation "com.github.franmontiel:PersistentCookieJar:${persistent_cookie_jar_version}"
|
|
|
|
|
|
implementation project(path: ':locallib_quick_android:quick_android_base')
|
|
}
|