2020-02-16 12:58:42 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
compileSdkVersion 29
|
|
|
|
|
defaultConfig {
|
|
|
|
|
applicationId "com.denizd.qwark"
|
|
|
|
|
minSdkVersion 23
|
|
|
|
|
targetSdkVersion 29
|
|
|
|
|
versionCode 2
|
|
|
|
|
versionName "0.2.0"
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled true
|
|
|
|
|
shrinkResources true
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
|
}
|
|
|
|
|
buildFeatures {
|
|
|
|
|
viewBinding = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
|
|
implementation 'androidx.core:core-ktx:1.2.0'
|
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
|
2020-03-09 20:17:34 +01:00
|
|
|
implementation "androidx.fragment:fragment-ktx:1.2.2"
|
2020-02-16 12:58:42 +01:00
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
|
|
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
2020-03-09 20:17:34 +01:00
|
|
|
implementation 'com.google.android.material:material:1.2.0-alpha05'
|
2020-02-16 12:58:42 +01:00
|
|
|
|
|
|
|
|
implementation 'androidx.preference:preference-ktx:1.1.0'
|
|
|
|
|
|
|
|
|
|
def lifecycle_version = "2.2.0"
|
|
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
|
|
|
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
|
|
|
|
|
|
|
|
|
|
def room_version = "2.2.3" // "2.1.0-alpha04"
|
|
|
|
|
implementation "androidx.room:room-runtime:2.2.3"
|
|
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
|
|
|
|
|
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0'
|
|
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0'
|
2020-02-22 08:02:01 +01:00
|
|
|
|
2020-02-16 12:58:42 +01:00
|
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
|
|
|
|
|
|
|
|
|
|
implementation 'com.shawnlin:number-picker:2.4.8'
|
|
|
|
|
}
|