0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-16 07:45:06 +00:00
VancedManager/library-network/build.gradle.kts

54 lines
1.5 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)
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"))
2021-10-08 12:17:08 +00:00
implementation("androidx.core:core-ktx:1.6.0")
2021-01-10 10:11:04 +00:00
2021-10-08 12:17:08 +00:00
val retrofitVersion = "2.9.0"
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
implementation("com.squareup.retrofit2:converter-moshi:$retrofitVersion")
2021-10-08 18:57:08 +00:00
val moshiVersion = "1.12.0"
2021-10-08 12:17:08 +00:00
implementation("com.squareup.moshi:moshi-kotlin:$moshiVersion")
implementation("com.squareup.moshi:moshi-kotlin-codegen:$moshiVersion")
implementation("com.squareup.moshi:moshi-adapters:$moshiVersion")
2021-01-10 10:11:04 +00:00
2021-10-08 18:57:08 +00:00
implementation("com.squareup.okhttp3:logging-interceptor:4.9.2")
2021-01-10 10:11:04 +00:00
2021-10-08 12:17:08 +00:00
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
2021-01-10 10:11:04 +00:00
2021-10-08 12:17:08 +00:00
implementation("io.insert-koin:koin-android:3.1.2")
2021-01-10 10:11:04 +00:00
}