gradle 에 추가할 때 귀찮아서 정리하는 안드로이드 라이브러리 버전 리스트
-
KTX
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.activity:activity-ktx:1.2.0-alpha04'
implementation 'androidx.fragment:fragment-ktx:1.3.3'
- ConstraintLayout
- MotionLayout 은 2.0.0 이상
implementation 'androidx.constraintlayout:constraintlayout:2.0.3'
implementation "androidx.recyclerview:recyclerview:1.2.0"
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
implementation "androidx.room:room-runtime:${room_version}"
implementation "androidx.room:room-rxjava2:${room_version}"
implementation "androidx.room:room-coroutines:${room_version}"
kapt "androidx.room:room-compiler:${room_compiler_version}"
android {
...
dataBinding {
enabled = true
}
}
apply plugin: "androidx.navigation.safeargs.kotlin"
def nav_version = "2.3.5"
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
buildscript {
repositories {
google()
}
dependencies {
def nav_version = "2.3.5"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
}
}
dependencies {
def compose_version = "0.1.0-dev08"
kotlinPlugin "androidx.compose:compose-compiler:$compose_version"
implementation "androidx.compose:compose-runtime:$compose_version"
}
composeOptions {
kotlinCompilerVersion "1.3.61-dev-withExperimentalGoogleExtensions-20200129"
kotlinCompilerExtensionVersion "0.1.0-dev08"
}
- Android material
implementation 'com.google.android.material:material:1.3.0'
implementation "com.airbnb.android:lottie:${lottie_version}"
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit2_version"
implementation "com.google.code.gson:gson:$gson_version"
implementation "com.github.bumptech.glide:glide:$glide_version"
kapt "com.github.bumptech.glide:compiler:$glide_version"
implementation "io.reactivex.rxjava2:rxjava:$rxjava_version"
implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"
implementation "io.reactivex.rxjava2:rxkotlin:$rxkotlin_version"
testImplementation "com.jakewharton.rxrelay2:rxrelay:$rxrelay_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1'
// test
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutine_version"
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutine_version"
implementation "com.google.android.exoplayer:exoplayer:${exo_player_version}"
implementation "com.google.dagger:dagger-android:${dagger_version}"
kapt "com.google.dagger:dagger-compiler:${dagger_version}"
kapt "com.google.dagger:dagger-android-processor:${dagger_version}"
plugins {
id "kotlin-kapt"
id "dagger.hilt.android.plugin"
}
def hilt_version = "2.41"
dependencies {
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
}
implementation "com.google.dagger:hilt-android:$hilt_version"
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
- Stetho
implementation "com.facebook.stetho:stetho:$stetho_version"
implementation "com.facebook.stetho:stetho-okhttp3:$stetho_version"