Skip to content

Commit

Permalink
[#17] 통신을 위한 네트워크 관련 베이스 코드 작성
Browse files Browse the repository at this point in the history
- 코루틴 버전 1.6.0 적용
  • Loading branch information
heechokim committed Apr 25, 2022
1 parent 35bf843 commit 2878873
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 9 deletions.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 18 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

// Firebase
implementation platform('com.google.firebase:firebase-bom:29.2.0')
implementation 'com.google.firebase:firebase-analytics-ktx'
implementation 'com.google.firebase:firebase-crashlytics-ktx'
Expand All @@ -88,4 +89,11 @@ dependencies {
// Glide
implementation "com.github.bumptech.glide:glide:$glide_version"
annotationProcessor "com.github.bumptech.glide:compiler:$glide_version"

// Retrofit2
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'

// Coroutine
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0'
}
4 changes: 0 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.moyerun.moyeorun_android">

<<<<<<< HEAD
<uses-permission android:name="android.permission.INTERNET" />
=======
<uses-permission android:name="android.permission.INTERNET"/>

>>>>>>> [#17] 통신을 위한 네트워크 관련 베이스 코드 작성
<application
android:name=".MoyeoRunApplication"
android:allowBackup="true"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.moyerun.moyeorun_android.network.calladapter
package com.moyerun.moyeorun_android.network.callAdapter

import com.moyerun.moyeorun_android.network.callAdapter.ApiResult
import com.moyerun.moyeorun_android.network.callAdapter.ApiResultCallAdapter
import retrofit2.Call
import retrofit2.CallAdapter
import retrofit2.Retrofit
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.moyerun.moyeorun_android.network.client

import com.moyerun.moyeorun_android.network.calladapter.ApiResultCallAdapterFactory
import com.moyerun.moyeorun_android.network.callAdapter.ApiResultCallAdapterFactory
import com.moyerun.moyeorun_android.network.api.ApiService
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
Expand Down

0 comments on commit 2878873

Please sign in to comment.