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 9aedb74
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 11 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ build/

# Local configuration file (sdk path, etc)
local.properties
keystore.properties

# Proguard folder generated by Eclipse
proguard/
Expand Down Expand Up @@ -164,4 +165,5 @@ google-services.json


# End of https://www.gitignore.io/api/kotlin,androidstudio
/app/keystore
/app/keystore
/app/mission-mate-keystore.jks
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 9aedb74

Please sign in to comment.