VancedManager/feature-home/build.gradle.kts

89 lines
2.5 KiB
Plaintext
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)
2021-10-08 10:21:44 +00:00
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2021-01-10 10:11:04 +00:00
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
buildFeatures {
viewBinding = true
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
android.testOptions {
unitTests.all {
it.useJUnitPlatform()
}
}
dependencies {
implementation(project(":core-ui"))
implementation(project(":core-presentation"))
implementation(project(":library-network"))
implementation(kotlin("stdlib"))
2021-10-08 12:17:08 +00:00
implementation("androidx.appcompat:appcompat:1.3.1")
implementation("androidx.core:core-ktx:1.6.0")
implementation("androidx.fragment:fragment-ktx:1.3.6")
2021-04-27 12:20:06 +00:00
implementation("androidx.lifecycle:lifecycle-livedata-core-ktx:2.3.1")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1")
2021-10-08 12:17:08 +00:00
implementation("com.google.android.material:material:1.4.0")
2021-01-10 10:11:04 +00:00
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
implementation("com.squareup.retrofit2:retrofit:2.9.0")
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
2021-10-08 18:57:08 +00:00
val kotestVersion = "5.0.0.M2"
2021-10-08 12:17:08 +00:00
testImplementation("io.kotest:kotest-runner-junit5:$kotestVersion")
testImplementation("io.kotest:kotest-assertions-core:$kotestVersion")
testImplementation("io.kotest:kotest-property:$kotestVersion")
2021-01-10 10:11:04 +00:00
2021-10-08 18:57:08 +00:00
val mockkVersion = "1.12.0"
2021-10-08 12:17:08 +00:00
testImplementation("io.mockk:mockk:$mockkVersion")
androidTestImplementation("io.mockk:mockk-android:$mockkVersion")
val androidxTestVersion = "1.4.0"
androidTestImplementation("androidx.test:core:$androidxTestVersion")
androidTestImplementation("androidx.test:runner:$androidxTestVersion")
androidTestImplementation("androidx.test:rules:$androidxTestVersion")
2021-01-10 10:11:04 +00:00
}