mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-24 04:05:12 +00:00
55 lines
1.5 KiB
Groovy
55 lines
1.5 KiB
Groovy
|
plugins {
|
||
|
id 'com.android.library'
|
||
|
id 'kotlin-android'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 30
|
||
|
buildToolsVersion "30.0.2"
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 16
|
||
|
targetSdkVersion 30
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
consumerProguardFiles "consumer-rules.pro"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
kotlinOptions {
|
||
|
jvmTarget = '1.8'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||
|
implementation 'androidx.core:core-ktx:1.3.2'
|
||
|
|
||
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
||
|
implementation "com.squareup.retrofit2:converter-moshi:2.9.0"
|
||
|
|
||
|
implementation "com.squareup.moshi:moshi-kotlin:1.11.0"
|
||
|
implementation "com.squareup.moshi:moshi-kotlin-codegen:1.11.0"
|
||
|
implementation "com.squareup.moshi:moshi-adapters:1.11.0"
|
||
|
|
||
|
|
||
|
|
||
|
implementation "com.squareup.okhttp3:logging-interceptor:4.9.0"
|
||
|
|
||
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1"
|
||
|
|
||
|
implementation "org.koin:koin-android:2.2.1"
|
||
|
implementation "org.koin:koin-android-viewmodel:2.2.1"
|
||
|
implementation "org.koin:koin-android-ext:2.2.1"
|
||
|
}
|