2020-08-15 14:52:27 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2020-09-07 21:15:18 +00:00
|
|
|
apply plugin: 'kotlin-kapt'
|
2020-08-15 14:52:27 +00:00
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 30
|
|
|
|
buildToolsVersion "30.0.1"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "oppen.tva"
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 30
|
2020-09-06 19:31:57 +00:00
|
|
|
versionCode 7
|
2020-09-07 21:15:18 +00:00
|
|
|
versionName "1.0.0"
|
2020-08-15 14:52:27 +00:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildFeatures{
|
|
|
|
dataBinding true
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions{
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
kotlinOptions{
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
implementation 'androidx.core:core-ktx:1.3.1'
|
|
|
|
implementation 'com.google.android.material:material:1.3.0-alpha02'
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
|
implementation 'androidx.activity:activity-ktx:1.1.0'
|
|
|
|
implementation "androidx.recyclerview:recyclerview:1.1.0"
|
|
|
|
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
|
|
|
|
|
2020-09-07 21:15:18 +00:00
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9'
|
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
|
|
|
|
|
2020-08-15 14:52:27 +00:00
|
|
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
|
2020-09-07 21:15:18 +00:00
|
|
|
//ROOM DB
|
|
|
|
def room_version = "2.2.5"
|
|
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
|
|
implementation "androidx.room:room-ktx:$room_version"
|
2020-08-15 14:52:27 +00:00
|
|
|
|
|
|
|
|
2020-09-07 21:15:18 +00:00
|
|
|
testImplementation 'junit:junit:4.13'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
2020-08-15 14:52:27 +00:00
|
|
|
|
|
|
|
}
|