Skip to content

Commit

Permalink
๐Ÿ”€ :: (#481) ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋ฒ„์ „ ์—…๋ฐ์ดํŠธ
Browse files Browse the repository at this point in the history
๐Ÿ”€ :: (#481) ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋ฒ„์ „ ์—…๋ฐ์ดํŠธ
  • Loading branch information
JunJaBoy authored Oct 5, 2023
2 parents f0342c1 + f169f3a commit 387e3fe
Show file tree
Hide file tree
Showing 52 changed files with 78 additions and 83 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ProjectProperties.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object ProjectProperties {
const val VersionCode = 111_16
const val VersionName = "v1.1.1 alpha-6"

const val CompileSdkVersion = 33
const val CompileSdkVersion = 34
const val MinSdkVersion = 23
const val TargetSdkVersion = 33
}
18 changes: 9 additions & 9 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ import org.gradle.api.JavaVersion
object Versions {

object Android {
const val Core = "1.10.0"
const val Activity = "1.7.1"
const val Fragment = "1.5.7"
const val Core = "1.12.0"
const val Activity = "1.7.2"
const val Fragment = "1.6.1"
const val AppCompat = "1.6.1"
const val WorkRuntime = "2.8.1"
const val LifeCycleRunTime = "2.6.1"
const val LifeCycleRunTime = "2.6.2"
}

object Kotlin {
const val Kotlin = "1.8.10"
}

object Java {
val Java = JavaVersion.VERSION_11
val Java = JavaVersion.VERSION_1_8
}

object Gradle {
const val Android = "7.4.2"
const val Kotlin = "1.8.10"
const val Android = "8.1.2"
const val Kotlin = "1.9.10"
const val Firebase = "4.3.15"
}

object Ui {
const val Compose = "1.4.2"
const val Compose = "1.5.3"
const val ComposeGlide = "2.1.11"
const val ComposeHiltNavigation = "1.0.0"
const val Navigation = "2.6.0-alpha06"
Expand All @@ -38,7 +38,7 @@ object Versions {
}

object Di {
const val Hilt = "2.44"
const val Hilt = "2.48"
const val JavaInject = "1"
}

Expand Down
1 change: 1 addition & 0 deletions data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
}

android {
namespace = "team.aliens.dms_android.data"
compileSdk = ProjectProperties.CompileSdkVersion

defaultConfig {
Expand Down
5 changes: 1 addition & 4 deletions data/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.data">

</manifest>
<manifest package="team.aliens.dms_android.data" />
7 changes: 3 additions & 4 deletions design-system/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.design_system">
package="team.aliens.design_system">

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

</manifest>
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
5 changes: 4 additions & 1 deletion di/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

android {
namespace = "team.aliens.di"
namespace = "team.aliens.dms_android.di"
compileSdk = ProjectProperties.CompileSdkVersion

defaultConfig {
Expand All @@ -33,6 +33,9 @@ android {
kotlinOptions {
jvmTarget = Versions.Java.Java.toString()
}
buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down
4 changes: 1 addition & 3 deletions di/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
<manifest package="team.aliens.dms_android.di" />
4 changes: 2 additions & 2 deletions di/src/main/java/team/aliens/di/remote/HttpModule.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.aliens.di.remote

import team.aliens.dms_android.remote.BuildConfig as RemoteBuildConfig
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
Expand All @@ -8,7 +9,7 @@ import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import team.aliens.data.facade.AuthorizationFacade
import team.aliens.di.BuildConfig
import team.aliens.dms_android.di.BuildConfig
import team.aliens.remote.annotation.BaseUrl
import team.aliens.remote.annotation.GlobalOkHttpClient
import team.aliens.remote.annotation.TokenReissueOkHttpClient
Expand All @@ -19,7 +20,6 @@ import team.aliens.remote.http.TokenReissueManagerImpl
import team.aliens.remote.util.OkHttpClient
import team.aliens.remote.util.Retrofit
import javax.inject.Singleton
import team.aliens.remote.BuildConfig as RemoteBuildConfig

@Module
@InstallIn(SingletonComponent::class)
Expand Down
9 changes: 5 additions & 4 deletions domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

android {

namespace = "team.aliens.domain"
namespace = "team.aliens.dms_android.domain"
compileSdk = ProjectProperties.CompileSdkVersion

defaultConfig {
Expand All @@ -31,6 +31,9 @@ android {
kotlinOptions {
jvmTarget =Versions.Java.Java.toString()
}
kotlin{

}
}

dependencies {
Expand All @@ -41,6 +44,4 @@ dependencies {
implementation(Dependencies.Di.Hilt)
implementation(Dependencies.Di.JavaInject)
kapt(Dependencies.Di.HiltCompiler)

//implementation(Dependencies.Kotlin.Coroutines)
}
}
5 changes: 1 addition & 4 deletions domain/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.domain">

</manifest>
<manifest package="team.aliens.dms_android.domain" />
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Oct 11 19:22:54 KST 2022
#Thu Oct 05 10:04:45 KST 2023
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion local/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

android {
namespace = "team.aliens.local"
namespace = "team.aliens.dms_android.local"
compileSdk = ProjectProperties.CompileSdkVersion

defaultConfig {
Expand Down
4 changes: 1 addition & 3 deletions local/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
<manifest package="team.aliens.dms_android.local" />
2 changes: 1 addition & 1 deletion presentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

android {

namespace = "team.aliens.presentation"
namespace = "team.aliens.dms_android.presentation"
compileSdk = ProjectProperties.CompileSdkVersion

defaultConfig {
Expand Down
3 changes: 2 additions & 1 deletion presentation/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.dms_android">
package="team.aliens.dms_android.presentation">

<uses-feature
android:name="android.hardware.camera"
Expand Down Expand Up @@ -45,6 +45,7 @@
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
android:exported="false"
tools:node="remove" />

<service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.launch
import team.aliens.dms_android.util.MutableEventFlow
import team.aliens.dms_android.util.asEventFlow
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R
import javax.inject.Inject

@Deprecated("legacy")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Composable
fun AppLogo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import android.app.NotificationManager
import android.content.Context
import android.os.Build
import androidx.annotation.RequiresApi
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

// todo ๋‚ด๋ถ€ ํ•จ์ˆ˜ ๋ถ„๋ฆฌ ํ•„์š”
@RequiresApi(Build.VERSION_CODES.O)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import team.aliens.design_system.toast.rememberToast
import team.aliens.design_system.typography.Body2
import team.aliens.dms_android.component.AppLogo
import team.aliens.domain.model.school.FetchSchoolsOutput
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Composable
fun FindIdScreen(
Expand Down Expand Up @@ -190,7 +190,7 @@ fun FindIdScreen(
color = DormTheme.colors.primaryVariant,
)
Icon(
painterResource(id = R.drawable.ic_down),
painterResource(id = team.aliens.design_system.R.drawable.ic_down),
contentDescription = null,
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import team.aliens.design_system.toast.rememberToast
import team.aliens.design_system.typography.Body2
import team.aliens.dms_android.component.AppLogo
import team.aliens.domain.model._common.EmailVerificationType
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Composable
fun ResetPasswordIdVerificationScreen(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import team.aliens.design_system.typography.Body4
import team.aliens.design_system.typography.Caption
import team.aliens.dms_android.component.AppLogo
import team.aliens.dms_android.util.TopBar
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Suppress("ConstPropertyName")
private const val passwordFormat = "^(?=.*[A-Za-z])(?=.*[0-9])(?=.*[!@#$%^&*()_+=-]).{8,20}"
Expand Down Expand Up @@ -119,7 +119,7 @@ fun ResetPasswordSetPasswordScreen(
.padding(top = 32.dp, bottom = 7.dp)
.height(85.dp)
.width(85.dp),
painter = painterResource(R.drawable.ic_information),
painter = painterResource(team.aliens.design_system.R.drawable.ic_information),
contentDescription = stringResource(id = R.string.MainLogo),
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import team.aliens.design_system.extension.Space
import team.aliens.design_system.theme.DormTheme
import team.aliens.design_system.typography.Body2
import team.aliens.dms_android.util.TopBar
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Composable
fun SuccessChangePasswordScreen(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ import team.aliens.design_system.typography.Caption
import team.aliens.dms_android.common.LocalAvailableFeatures
import team.aliens.dms_android.component.AppLogo
import team.aliens.dms_android.extension.collectInLaunchedEffectWithLifeCycle
import team.aliens.dms_android.util.getDeviceUid
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Composable
internal fun SignInScreen(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import team.aliens.design_system.typography.Body2
import team.aliens.dms_android.component.AppLogo
import team.aliens.dms_android.feature.auth.resetpassword.ChangePasswordViewModel
import team.aliens.dms_android.util.TopBar
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Composable
fun ConfirmPasswordScreen(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package team.aliens.dms_android.feature.main.home

import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

internal sealed class HomeBottomNavigationItem(
val route: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import team.aliens.design_system.typography.Body4
import team.aliens.design_system.typography.OverLine
import team.aliens.domain.model._common.Order
import team.aliens.domain.model.notice.Notice
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

private val Order.text: String
@Composable inline get() = when (this) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import team.aliens.design_system.typography.Body5
import team.aliens.design_system.typography.Caption
import team.aliens.design_system.typography.Title3
import team.aliens.dms_android.util.TopBar
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Composable
internal fun NoticeDetailsScreen(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import team.aliens.design_system.typography.Body1
import team.aliens.design_system.typography.Body5
import team.aliens.design_system.typography.SubTitle2
import team.aliens.dms_android.component.listFadeBrush
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

private sealed class ApplicationCardItem(
@StringRes val titleRes: Int,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import team.aliens.dms_android.component.listFadeBrush
import team.aliens.dms_android.feature.main.home.home.MealCardType.BREAKFAST
import team.aliens.dms_android.feature.main.home.home.MealCardType.DINNER
import team.aliens.dms_android.feature.main.home.home.MealCardType.LUNCH
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R
import kotlin.math.absoluteValue

@Stable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import team.aliens.design_system.theme.DormTheme
import team.aliens.design_system.typography.Body4
import team.aliens.dms_android.component.AppLogo
import team.aliens.dms_android.util.TopBar
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Deprecated("no usage")
@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import team.aliens.dms_android.component.AppLogo
import team.aliens.dms_android.feature.auth.resetpassword.ChangePasswordViewModel
import team.aliens.dms_android.feature.DmsRoute
import team.aliens.dms_android.util.TopBar
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Stable
const val passwordFormat = "^(?=.*[A-Za-z])(?=.*[0-9])(?=.*[!@#$%^&*()_+=-]).{8,20}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import team.aliens.design_system.typography.Headline3
import team.aliens.design_system.typography.Title1
import team.aliens.dms_android.feature.main.image.SelectImageTypeDialog
import team.aliens.domain.model._common.Sex
import team.aliens.presentation.R
import team.aliens.dms_android.presentation.R

@Composable
internal fun MyPageScreen(
Expand Down
Loading

0 comments on commit 387e3fe

Please sign in to comment.