Skip to content

Commit

Permalink
refactor : baseURL을 buildconfig로 선언
Browse files Browse the repository at this point in the history
  • Loading branch information
huiwoo-jo committed Mar 16, 2024
1 parent 38a8ad1 commit 1d0df31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ android {
versionCode 5
versionName "1.0.3"

buildConfigField "String", "BASE_URL", properties['BASE_URL']
buildConfigField "String", "API_KEY", properties['API_KEY']
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import com.google.gson.annotations.SerializedName

data class Cafeteria(
@SerializedName("date")
val date: String,
var date: String,
@SerializedName("menus")
val menu: List<String>
)

0 comments on commit 1d0df31

Please sign in to comment.