-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: domain모듈, 및 data모듈 생성, retrofit 생성 및 MockWebServer 테스트 코드 작성 * refactor: ktlint 적용, response json파일로 생성, repository 클래스 property camel case로 변경 * refactor: 1단계 미션부분까지 적용
- Loading branch information
1 parent
be18454
commit 8531d53
Showing
10 changed files
with
51 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
app/src/androidTest/java/camp/nextstep/edu/github/ExampleInstrumentedTest.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package camp.nextstep.edu.github | ||
|
||
import androidx.appcompat.app.AppCompatActivity | ||
import android.os.Bundle | ||
import androidx.appcompat.app.AppCompatActivity | ||
|
||
class MainActivity : AppCompatActivity() { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
setContentView(R.layout.activity_main) | ||
} | ||
} | ||
} |
17 changes: 0 additions & 17 deletions
17
app/src/test/java/camp/nextstep/edu/github/ExampleUnitTest.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
object Version { | ||
const val androidGradlePlugin = "7.4.0" | ||
const val kotlin = "1.8.0" | ||
const val kotlin = "1.9.0" | ||
const val compileSdk = 33 | ||
const val minSdk = 26 | ||
const val targetSdk = 33 | ||
const val retrofit = "2.9.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
plugins { | ||
id("kotlin") | ||
id("org.jlleitschuh.gradle.ktlint") version "11.5.0" | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
dependencies { | ||
implementation("org.jetbrains.kotlin:kotlin-stdlib:${Version.kotlin}") | ||
implementation("com.squareup.retrofit2:retrofit:${Version.retrofit}") | ||
implementation("com.squareup.retrofit2:converter-gson:${Version.retrofit}") | ||
implementation(project(":core:domain")) | ||
|
||
testImplementation("junit:junit:4.13.2") | ||
testImplementation("com.google.truth:truth:1.1.4") | ||
testImplementation("com.squareup.okhttp3:mockwebserver:4.11.0") | ||
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
plugins { | ||
id("kotlin") | ||
id("org.jlleitschuh.gradle.ktlint") version "11.5.0" | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
dependencies { | ||
implementation("com.google.code.gson:gson:2.10.1") | ||
|
||
testImplementation("junit:junit:4.13.2") | ||
testImplementation("com.google.truth:truth:1.1.4") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
include(":app") | ||
rootProject.name = "android-github" | ||
include(":app") | ||
include(":core:domain") | ||
include(":core:data") |