Skip to content

Commit 2f09f62

Browse files
author
jayden.d
committed
refactor - 그래들 버전 수정 및 그래들 소스 정리
1 parent 5a44078 commit 2f09f62

File tree

7 files changed

+6
-17
lines changed

7 files changed

+6
-17
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath(ProjectDependencies.ANDROID_BUILD_TOOL)
8+
classpath(ProjectDependencies.ANDROID_GRADLE_PLUGIN)
99
classpath(ProjectDependencies.KOTLIN_GRADLE_PLUGIN)
1010
classpath(ProjectDependencies.HILT_GRADLE_PLUGIN)
1111
classpath(ProjectDependencies.FIREBASE_CRASHLYTICS)

buildSrc/src/main/java/ProjectDependencies.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object ProjectDependencies {
2-
const val ANDROID_BUILD_TOOL = "com.android.tools.build:gradle:${Versions.ANDROID_BUILD_TOOL}"
2+
const val ANDROID_GRADLE_PLUGIN = "com.android.tools.build:gradle:${Versions.ANDROID_GRADLE_PLUGIN}"
33
const val KOTLIN_GRADLE_PLUGIN = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.KOTLIN}"
44
const val HILT_GRADLE_PLUGIN = "com.google.dagger:hilt-android-gradle-plugin:${Versions.HILT}"
55
const val GOOGLE_SERVICE = "com.google.gms:google-services:${Versions.GOOGLE_SERVICE}"

buildSrc/src/main/java/Versions.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ object Versions {
33
const val ACCOMPANIST_PAGER = "0.24.12-rc"
44
const val ACCOMPANIST_SYSTEM_UI_CONTROLLER = "0.24.12-rc"
55
const val ANDROID_APP_COMPAT = "1.4.1"
6-
const val ANDROID_BUILD_TOOL = "7.2.1"
6+
const val ANDROID_GRADLE_PLUGIN = "7.3.1"
77
const val ANDROID_CORE = "1.7.0"
88
const val COIL = "1.4.0"
99
const val COMPOSE = "1.2.0"
@@ -13,7 +13,7 @@ object Versions {
1313
const val COMPOSE_NAVIGATION = "2.5.0"
1414
const val FIREBASE_BOM = "30.3.1"
1515
const val FIREBASE_CRASHLYTICS = "2.9.1"
16-
const val GOOGLE_SERVICE = "4.3.10"
16+
const val GOOGLE_SERVICE = "4.3.14"
1717
const val HILT = "2.42"
1818
const val HILT_ANDROID = "1.0.0-beta01"
1919
const val JUNIT = "4.13.2"

data/build.gradle.kts

-8
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ plugins {
1111
android {
1212
compileSdk = Configs.COMPILE_SDK
1313

14-
defaultConfig {
15-
minSdk = Configs.MIN_SDK
16-
targetSdk = Configs.TARGET_SDK
17-
}
18-
compileOptions {
19-
sourceCompatibility = JavaVersion.VERSION_1_8
20-
targetCompatibility = JavaVersion.VERSION_1_8
21-
}
2214
kotlinOptions {
2315
jvmTarget = "1.8"
2416
}

domain/src/main/java/com/yapp/growth/domain/NetworkResult.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ inline fun <T, R> NetworkResult<T>.mapCatching(transform: (T) -> R): NetworkResu
5959
is NetworkResult.Loading -> NetworkResult.Loading
6060
}
6161

62-
inline fun <T, R> NetworkResult<T>.zip(other: R): NetworkResult<Pair<T, R>> =
62+
fun <T, R> NetworkResult<T>.zip(other: R): NetworkResult<Pair<T, R>> =
6363
when (this) {
6464
is NetworkResult.Success -> NetworkResult.Success(data to other)
6565
is NetworkResult.Error -> NetworkResult.Error(this.exception)
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Mon May 16 22:48:54 KST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

presentation/build.gradle.kts

-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ android {
1515
compileSdk = Configs.COMPILE_SDK
1616

1717
defaultConfig {
18-
minSdk = Configs.MIN_SDK
19-
targetSdk = Configs.TARGET_SDK
20-
2118
vectorDrawables {
2219
useSupportLibrary = true
2320
}

0 commit comments

Comments
 (0)