Skip to content

Commit

Permalink
#7 Set network library add
Browse files Browse the repository at this point in the history
  • Loading branch information
Heonbyeong committed Jul 5, 2022
1 parent a51242c commit e9d03df
Show file tree
Hide file tree
Showing 61 changed files with 34 additions and 2 deletions.
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Dependency.class
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Versions.class
Binary file not shown.
2 changes: 1 addition & 1 deletion buildSrc/build/kotlin/buildSrcjar-classes.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$AndroidTest.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$AndroidX.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$Google.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$Kotlin.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$Naver.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$UnitTest.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Versions.class
C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$AndroidTest.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$AndroidX.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$Google.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$Kotlin.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$Library.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$Naver.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency$UnitTest.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Dependency.class;C:\Programming\Draven\buildSrc\build\classes\kotlin\main\Versions.class
Binary file modified buildSrc/build/kotlin/compileKotlin/build-history.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2
4
0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified buildSrc/build/kotlin/compileKotlin/last-build.bin
Binary file not shown.
Binary file modified buildSrc/build/libs/buildSrc.jar
Binary file not shown.
8 changes: 8 additions & 0 deletions buildSrc/build/source-roots/buildSrc/source-roots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
src\main\resources
src\main\java
src\main\groovy
src\main\kotlin
src\test\resources
src\test\java
src\test\groovy
src\test\kotlin
8 changes: 8 additions & 0 deletions buildSrc/src/main/java/Dependency.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,12 @@ object Dependency {
const val ANDROID_JUNIT = "androidx.test.ext:junit:${Versions.JUNIT}"
const val ESPRESSO_CORE = "androidx.test.espresso:espresso-core:${Versions.ESPRESSO}"
}

object Library {
const val RETROFIT = "com.squareup.retrofit2:retrofit:${Versions.RETROFIT}"
const val RETROFIT_CONVERTER_GSON = "com.squareup.retrofit2:converter-gson:${Versions.RETROFIT}"
const val OKHTTP = "com.squareup.okhttp3:okhttp:${Versions.OKHTTP}"
const val OKHTTP_LOGGING_INTERCEPTOR = "com.squareup.okhttp3:logging-interceptor:${Versions.OKHTTP}"
const val OKHTTP_URL_CONNECTION = "com.squareup.okhttp3:okhttp-urlconnection:${Versions.OKHTTP}"
}
}
3 changes: 3 additions & 0 deletions buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ object Versions {

const val GOOGLE_OAUTH = "20.2.0"
const val NAVER_OAUTH = "5.1.1"

const val RETROFIT = "2.9.0"
const val OKHTTP = "5.0.0-alpha.2"
}
7 changes: 7 additions & 0 deletions data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ dependencies {
implementation(Dependency.AndroidX.CORE_KTX)
implementation(Dependency.AndroidX.APPCOMPAT)
implementation(Dependency.Google.MATERIAL)

implementation(Dependency.Library.RETROFIT)
implementation(Dependency.Library.RETROFIT_CONVERTER_GSON)
implementation(Dependency.Library.OKHTTP)
implementation(Dependency.Library.OKHTTP_LOGGING_INTERCEPTOR)
implementation(Dependency.Library.OKHTTP_URL_CONNECTION)

testImplementation(Dependency.UnitTest.JUNIT)
androidTestImplementation(Dependency.AndroidTest.ANDROID_JUNIT)
androidTestImplementation(Dependency.AndroidTest.ESPRESSO_CORE)
Expand Down
6 changes: 6 additions & 0 deletions presentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ dependencies {
implementation(Dependency.Google.GOOGLE_OAUTH)
implementation(Dependency.Naver.NAVER_OAUTH)

implementation(Dependency.Library.RETROFIT)
implementation(Dependency.Library.RETROFIT_CONVERTER_GSON)
implementation(Dependency.Library.OKHTTP)
implementation(Dependency.Library.OKHTTP_LOGGING_INTERCEPTOR)
implementation(Dependency.Library.OKHTTP_URL_CONNECTION)

testImplementation(Dependency.UnitTest.JUNIT)
androidTestImplementation(Dependency.AndroidTest.ANDROID_JUNIT)
androidTestImplementation(Dependency.AndroidTest.ESPRESSO_CORE)
Expand Down

0 comments on commit e9d03df

Please sign in to comment.