Skip to content

Commit

Permalink
Merge pull request #72 from ku-ring/task/kuring-80
Browse files Browse the repository at this point in the history
kuring-80 의존성을 Gradle Version Catalog에 선언
  • Loading branch information
mwy3055 authored Sep 16, 2023
2 parents 12035d9 + 4842830 commit b8d8698
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 113 deletions.
162 changes: 55 additions & 107 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ plugins {
def keystorePropertiesFile = rootProject.file("app/signing/keystore.properties")
def localPropertiesFile = rootProject.file("local.properties")

def composeCompilerVersion = "1.4.7"

android {
testOptions {
unitTests {
Expand Down Expand Up @@ -108,166 +106,116 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = composeCompilerVersion
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}
}

dependencies {

implementation 'androidx.core:core-ktx:1.6.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'com.google.firebase:firebase-messaging-ktx:21.0.1'
implementation libs.androidx.core.ktx
implementation libs.androidx.appcompat
implementation libs.android.material
implementation libs.androidx.constraintlayout

// dagger hilt
kapt "androidx.hilt:hilt-compiler:1.0.0"
implementation 'com.google.dagger:hilt-android:2.45'
kapt 'com.google.dagger:hilt-compiler:2.45'
androidTestImplementation 'com.google.dagger:hilt-android-testing:2.45'
kaptAndroidTest 'com.google.dagger:hilt-compiler:2.45'
testImplementation 'com.google.dagger:hilt-android-testing:2.45'
kaptTest 'com.google.dagger:hilt-compiler:2.45'
kapt libs.androidx.hilt.compiler
implementation libs.hilt.android
kapt libs.hilt.compiler
androidTestImplementation libs.hilt.android.testing
kaptAndroidTest libs.hilt.compiler
testImplementation libs.hilt.android.testing
kaptTest libs.hilt.compiler

// start up
implementation "androidx.startup:startup-runtime:1.1.0"
implementation libs.androidx.startup.runtime

// retrofit
def retrofit_version = "2.9.0"
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava3:$retrofit_version"
implementation libs.bundles.retrofit

// okHttp
def okHttp_version = "4.9.0"
implementation "com.squareup.okhttp3:okhttp:$okHttp_version"
implementation "com.squareup.okhttp3:logging-interceptor:$okHttp_version"
testImplementation "com.squareup.okhttp3:mockwebserver:$okHttp_version"

// coroutine
def coroutine_version = "1.6.4"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-reactive:$coroutine_version"
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutine_version"
implementation libs.okhttp
implementation libs.okhttp.logging.interceptor
testImplementation libs.okhttp.mockwebserver

// coroutines
implementation libs.bundles.coroutines
testImplementation libs.kotlinx.coroutines.test

// rxJava
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
implementation 'io.reactivex.rxjava3:rxjava:3.0.7'
implementation libs.bundles.rxjava

// viewModel
def lifecycle_version = "1.1.1"
implementation "android.arch.lifecycle:extensions:$lifecycle_version"
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
implementation "androidx.activity:activity-ktx:1.2.3"
implementation libs.bundles.viewmodel.ktx

// Timber
implementation 'com.jakewharton.timber:timber:4.7.1'
implementation libs.timber

// viewPager2
implementation "androidx.viewpager2:viewpager2:1.0.0"
implementation libs.androidx.viewpager2

// fragment
def fragment_version = '1.5.0'
implementation "androidx.fragment:fragment-ktx:$fragment_version"
debugImplementation "androidx.fragment:fragment-testing:$fragment_version"
implementation libs.androidx.fragment.ktx
debugImplementation libs.androidx.fragment.testing

// firebase
implementation platform('com.google.firebase:firebase-bom:30.1.0')
implementation 'com.google.firebase:firebase-messaging-ktx'
implementation 'com.google.firebase:firebase-analytics-ktx'
implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation platform(libs.firebase.bom)
implementation libs.bundles.firebase

// open source notices
implementation("com.google.android.gms:play-services-oss-licenses:17.0.0")
implementation libs.play.services.oss.licenses

// soft keyboard listener
implementation 'net.yslibrary.keyboardvisibilityevent:keyboardvisibilityevent:3.0.0-RC3'

// unit test
androidTestImplementation("org.mockito:mockito-android:2.24.5")
testImplementation 'org.mockito:mockito-inline:2.21.0'
testImplementation "androidx.arch.core:core-testing:2.1.0"
testImplementation 'org.mockito:mockito-core:3.5.9'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
testImplementation 'androidx.test:core:1.4.0'
testImplementation "org.robolectric:robolectric:4.7"
testImplementation "org.mockito.kotlin:mockito-kotlin:4.0.0"
implementation libs.keyboardvisibilityevent

// tests
testImplementation libs.bundles.unit.test
androidTestImplementation libs.bundles.android.test

// paging3
def paging_version = "3.0.1"
implementation "androidx.paging:paging-runtime-ktx:$paging_version"
implementation "androidx.paging:paging-common-ktx:$paging_version"
implementation "androidx.paging:paging-rxjava3:$paging_version"
implementation libs.bundles.paging

// Room
def room_version = "2.4.0-alpha03"
implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"
implementation "androidx.room:room-ktx:$room_version"
implementation "androidx.room:room-rxjava3:$room_version"
testImplementation "androidx.room:room-testing:$room_version"
implementation libs.androidx.room.runtime
kapt libs.androidx.room.compiler
implementation libs.androidx.room.ktx
implementation libs.androidx.room.rxjava3
testImplementation libs.androidx.room.testing

// Compose
def compose_bom = "2023.05.00"
implementation platform("androidx.compose:compose-bom:$compose_bom")
implementation "androidx.compose.foundation:foundation"
implementation "androidx.compose.material:material"
implementation "androidx.compose.material:material-icons-core"
implementation "androidx.compose.material:material-icons-extended"
implementation "androidx.compose.ui:ui"
implementation "androidx.compose.ui:ui-test"
implementation "androidx.compose.ui:ui-test-junit4"
debugImplementation "androidx.compose.ui:ui-test-manifest"
implementation "androidx.compose.ui:ui-tooling"
implementation "androidx.compose.ui:ui-tooling-preview"

implementation "androidx.activity:activity-compose:1.7.1"
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.6.1"
implementation "androidx.paging:paging-compose:1.0.0-alpha19"
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
implementation platform(libs.compose.bom)
implementation libs.bundles.compose
implementation libs.bundles.compose.interop

// WorkManager
def work_version = '2.7.1'
implementation "androidx.work:work-runtime-ktx:$work_version"
androidTestImplementation "androidx.work:work-testing:$work_version"
implementation "androidx.hilt:hilt-work:1.0.0"
implementation libs.bundles.androidx.work
androidTestImplementation libs.androidx.work.testing

// Shimmer effect
implementation 'com.facebook.shimmer:shimmer:0.5.0'
implementation libs.shimmer

// tag library
implementation 'com.github.yeon-kyu:AndroidTagView:v1.1.7-alpha1'

// WebSocket
implementation "org.java-websocket:Java-WebSocket:1.5.1"
implementation libs.androidtagview

// HoldableSwipeHandler
implementation 'com.github.yeon-kyu.HoldableSwipeHandler:HoldableSwipeHandler:1.2.2'
implementation libs.holdableswipehandler

// leak canary
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
debugImplementation libs.leakcanary.android

// swipeRefreshLayout
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01'
implementation libs.androidx.swiperefreshlayout

// appsFlyer
implementation 'com.appsflyer:af-android-sdk:6.3.2'
implementation libs.af.android.sdk

// indicator
implementation 'com.romandanylyk:pageindicatorview:1.0.3'
implementation libs.pageindicatorview

// sendbird sdk
implementation 'com.sendbird.sdk:sendbird-chat:4.0.0-beta.2'
implementation libs.sendbird.chat

// google play-auth
implementation 'com.google.android.gms:play-services-auth:20.3.0'

// google AdMob
implementation 'com.google.android.gms:play-services-ads:21.2.0'
implementation libs.play.services.auth
}

kapt {
Expand Down
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21'
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.45'
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.4'
classpath libs.android.gradle
classpath libs.kotlin.gradle
classpath libs.hilt.android.gradle
classpath libs.google.services
classpath libs.firebase.crashlytics.gradle
classpath libs.oss.licenses

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
Loading

0 comments on commit b8d8698

Please sign in to comment.