Skip to content

Commit

Permalink
Fix :core:model module package
Browse files Browse the repository at this point in the history
  • Loading branch information
bywindow committed Jul 28, 2024
1 parent 3fe045b commit ef4eaef
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

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

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package com.goalpanzi.mission_mate.core.data.repository

import com.goalpanzi.mission_mate.core.domain.repository.LoginRepository
import com.goalpanzi.mission_mate.core.network.service.LoginService
import com.luckyoct.model.GoogleLogin
import com.luckyoct.model.request.GoogleLoginRequest
import com.luckyoct.core.model.GoogleLogin
import com.luckyoct.core.model.request.GoogleLoginRequest
import javax.inject.Inject

class LoginRepositoryImpl @Inject constructor(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.goalpanzi.mission_mate.core.domain.repository

import com.luckyoct.model.GoogleLogin
import com.luckyoct.core.model.GoogleLogin

interface LoginRepository {
suspend fun requestGoogleLogin(token: String, email: String): GoogleLogin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.goalpanzi.mission_mate.core.domain.usecase

import com.goalpanzi.mission_mate.core.domain.repository.LoginRepository
import com.luckyoct.model.GoogleLogin
import com.luckyoct.core.model.GoogleLogin
import javax.inject.Inject

class LoginUseCase @Inject constructor(
Expand Down
2 changes: 1 addition & 1 deletion core/model/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

android {
namespace = "com.luckyoct.model"
namespace = "com.luckyoct.core.model"
compileSdk = 34

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.model
package com.luckyoct.core.model

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.luckyoct.model.request
package com.luckyoct.core.model.request

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.goalpanzi.mission_mate.core.network.service

import com.luckyoct.model.GoogleLogin
import com.luckyoct.model.request.GoogleLoginRequest
import com.luckyoct.core.model.GoogleLogin
import com.luckyoct.core.model.request.GoogleLoginRequest
import retrofit2.http.Body
import retrofit2.http.POST

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ kotest = "5.9.0"
mockk = "1.13.11"

## Hilt
hilt = "2.51"
hilt = "2.51.1"
hilt-navigation-compose = "1.2.0"

## Network
Expand Down

0 comments on commit ef4eaef

Please sign in to comment.