63 lines
1.8 KiB
Kotlin
63 lines
1.8 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.android.application)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.example.tasktracker"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "com.example.tasktracker"
|
|
minSdk = 27
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.room.runtime)
|
|
// If this project only uses Java source, use the Java annotationProcessor
|
|
// No additional plugins are necessary
|
|
annotationProcessor(libs.room.compiler)
|
|
// optional - RxJava3 support for Room
|
|
implementation(libs.room.rxjava3)
|
|
|
|
implementation(libs.gson)
|
|
implementation(libs.retrofit)
|
|
implementation(libs.converter.gson)
|
|
implementation(libs.adapter.rxjava3)
|
|
implementation(libs.rxandroid)
|
|
// Because RxAndroid releases are few and far between, it is recommended you also
|
|
// explicitly depend on RxJava's latest version for bug fixes and new features.
|
|
// (see https://github.com/ReactiveX/RxJava/releases for latest 3.x.x version)
|
|
implementation(libs.rxjava)
|
|
|
|
implementation(libs.appcompat)
|
|
implementation(libs.material)
|
|
implementation(libs.activity)
|
|
implementation(libs.constraintlayout)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.ext.junit)
|
|
androidTestImplementation(libs.espresso.core)
|
|
} |