Skip to content

Instantly share code, notes, and snippets.

@ekoo
Created May 21, 2020 10:26
Show Gist options
  • Save ekoo/6abf4f300c8b05f748deaffe21941c73 to your computer and use it in GitHub Desktop.
Save ekoo/6abf4f300c8b05f748deaffe21941c73 to your computer and use it in GitHub Desktop.
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:1.1.3'
//-------------dependencies yang di butuhkan------------------
//untuk viewmodel
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
//untuk coroutine scope
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
//coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.6'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.6'
//---------------------------------------------------------------
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment