0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-22 19:25:11 +00:00
VancedManager/library-network/build.gradle.kts

56 lines
1.6 KiB
Text
Raw Normal View History

2021-01-10 10:11:04 +00:00
plugins {
id("com.android.library")
kotlin("android")
}
android {
compileSdkVersion(30)
defaultConfig {
minSdkVersion(16)
targetSdkVersion(30)
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
dependencies {
implementation(kotlin("stdlib"))
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.1")
2021-01-10 10:11:04 +00:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.2")
2021-01-10 10:11:04 +00:00
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")
}