diff --git a/app/build.gradle b/app/build.gradle index 0a8c96f..8cbce62 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -40,37 +40,45 @@ android { } dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) + // region Kotlin implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + kapt "android.arch.lifecycle:compiler:1.1.1" + // endregion - // Support Library + // region Support Library implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:design:28.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' + // endregion - 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' - - // ViewModel and LiveData + // region ViewModel and LiveData implementation "android.arch.lifecycle:extensions:1.1.1" // alternatively, just ViewModel //implementation "android.arch.lifecycle:viewmodel:1.1.0" // alternatively, just LiveData //implementation "android.arch.lifecycle:livedata:1.1.0" + // endregion - kapt "android.arch.lifecycle:compiler:1.1.1" - - // Room (use 1.1.0-alpha3 for latest alpha) + // region Jetpack / Developer Experience + // Room implementation "android.arch.persistence.room:runtime:1.1.1" kapt "android.arch.persistence.room:compiler:1.1.1" // Paging implementation "android.arch.paging:runtime:1.0.1" + implementation 'androidx.core:core-ktx:1.0.1' + // endregion + + // region Tests + 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' + // Test helpers for LiveData - testImplementation "android.arch.core:core-testing:1.1.0" + testImplementation "android.arch.core:core-testing:1.1.1" // Test helpers for Room - testImplementation "android.arch.persistence.room:testing:1.0.0" + testImplementation "android.arch.persistence.room:testing:1.1.1" + // endregion }