48 lines
1.7 KiB
Groovy
48 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
defaultConfig {
|
|
applicationId "com.wbrawner.myallowance"
|
|
minSdkVersion 23
|
|
targetSdkVersion 27
|
|
versionCode 1
|
|
versionName "1.0"
|
|
vectorDrawables {
|
|
useSupportLibrary = true
|
|
}
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'com.android.support:appcompat-v7:27.1.1'
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
|
|
implementation 'com.android.support:design:27.1.1'
|
|
implementation "com.android.support:support-emoji-bundled:27.1.1"
|
|
def room_version = "1.1.1"
|
|
def lifecycle_version = "1.1.1"
|
|
// ViewModel and LiveData
|
|
implementation "android.arch.lifecycle:extensions:$lifecycle_version"
|
|
implementation "android.arch.persistence.room:runtime:$room_version"
|
|
kapt "android.arch.persistence.room:compiler:$room_version"
|
|
testImplementation "android.arch.persistence.room:testing:$room_version"
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
}
|