Last active
October 23, 2018 17:18
-
-
Save ceruleanotter/04e5d5452d885317c062dc74851dd343 to your computer and use it in GitHub Desktop.
App's build.gradle NOT project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -- Copy into dependencies block -- | |
// Room components | |
implementation "android.arch.persistence.room:runtime:1.1.1" | |
annotationProcessor "android.arch.persistence.room:compiler:1.1.1" | |
androidTestImplementation "android.arch.persistence.room:testing:1.1.1" | |
// Lifecycle components | |
implementation "android.arch.lifecycle:extensions:1.1.1" | |
annotationProcessor "android.arch.lifecycle:compiler:1.1.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -- Add this to the top of the file -- | |
apply plugin: 'kotlin-kapt' | |
// -- Copy into dependencies block -- | |
// Room components | |
implementation "android.arch.persistence.room:runtime:1.1.1" | |
kapt "android.arch.persistence.room:compiler:1.1.1" | |
androidTestImplementation "android.arch.persistence.room:testing:1.1.1" | |
// Lifecycle components | |
implementation "android.arch.lifecycle:extensions:1.1.1" | |
kapt "android.arch.lifecycle:compiler:1.1.1" | |
// Coroutines | |
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.26.1" | |
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.26.1" | |
// -- Add this to the bottom of the file -- | |
kotlin { | |
experimental { | |
coroutines "enable" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment