diff --git a/android/festago/build.gradle.kts b/android/festago/build.gradle.kts index a39bf1aab..53a7c5b74 100644 --- a/android/festago/build.gradle.kts +++ b/android/festago/build.gradle.kts @@ -1,6 +1,6 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - val agpVersion = "8.0.2" + val agpVersion = "8.4.0" id("com.android.application") version agpVersion apply false id("com.android.library") version agpVersion apply false diff --git a/android/festago/common/build.gradle.kts b/android/festago/common/build.gradle.kts index 9fd20d703..6bac17506 100644 --- a/android/festago/common/build.gradle.kts +++ b/android/festago/common/build.gradle.kts @@ -8,6 +8,10 @@ android { namespace = "com.festago.festago.common" compileSdk = 34 + buildFeatures { + buildConfig = true + } + defaultConfig { minSdk = 26 consumerProguardFiles("consumer-rules.pro") diff --git a/android/festago/data-legacy/build.gradle.kts b/android/festago/data-legacy/build.gradle.kts index a40a9a331..196365e0a 100644 --- a/android/festago/data-legacy/build.gradle.kts +++ b/android/festago/data-legacy/build.gradle.kts @@ -12,6 +12,10 @@ android { namespace = "com.festago.festago.data" compileSdk = 34 + buildFeatures { + buildConfig = true + } + defaultConfig { minSdk = 28 @@ -86,5 +90,5 @@ dependencies { } fun getSecretKey(propertyKey: String): String { - return gradleLocalProperties(rootDir).getProperty(propertyKey) + return gradleLocalProperties(rootDir, providers).getProperty(propertyKey) } diff --git a/android/festago/data/build.gradle.kts b/android/festago/data/build.gradle.kts index 065a0b329..e6d4e90af 100644 --- a/android/festago/data/build.gradle.kts +++ b/android/festago/data/build.gradle.kts @@ -12,6 +12,10 @@ android { namespace = "com.festago.festago.data" compileSdk = 34 + buildFeatures { + buildConfig = true + } + defaultConfig { minSdk = 28 @@ -97,5 +101,5 @@ dependencies { } fun getSecretKey(propertyKey: String): String { - return gradleLocalProperties(rootDir).getProperty(propertyKey) + return gradleLocalProperties(rootDir, providers).getProperty(propertyKey) } diff --git a/android/festago/gradle.properties b/android/festago/gradle.properties index 11a9b2446..2cbd6d19d 100644 --- a/android/festago/gradle.properties +++ b/android/festago/gradle.properties @@ -21,4 +21,3 @@ kotlin.code.style=official # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true -android.defaults.buildfeatures.buildconfig=true diff --git a/android/festago/gradle/wrapper/gradle-wrapper.properties b/android/festago/gradle/wrapper/gradle-wrapper.properties index dfe5fc850..cbd231ba9 100644 --- a/android/festago/gradle/wrapper/gradle-wrapper.properties +++ b/android/festago/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu Jul 06 17:20:35 KST 2023 +#Wed Jun 19 16:55:17 TLT 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/android/festago/presentation-legacy/build.gradle.kts b/android/festago/presentation-legacy/build.gradle.kts index 6706372db..4a08f8031 100644 --- a/android/festago/presentation-legacy/build.gradle.kts +++ b/android/festago/presentation-legacy/build.gradle.kts @@ -13,6 +13,10 @@ android { namespace = "com.festago.festago.presentation" compileSdk = 34 + buildFeatures { + buildConfig = true + } + defaultConfig { minSdk = 28 @@ -134,5 +138,5 @@ dependencies { } fun getSecretKey(propertyKey: String): String { - return gradleLocalProperties(rootDir).getProperty(propertyKey) + return gradleLocalProperties(rootDir, providers).getProperty(propertyKey) } diff --git a/android/festago/presentation/build.gradle.kts b/android/festago/presentation/build.gradle.kts index 05e1d77f8..b7a303f75 100644 --- a/android/festago/presentation/build.gradle.kts +++ b/android/festago/presentation/build.gradle.kts @@ -14,6 +14,10 @@ android { namespace = "com.festago.festago.presentation" compileSdk = 34 + buildFeatures { + buildConfig = true + } + defaultConfig { minSdk = 28 @@ -145,5 +149,5 @@ dependencies { } fun getSecretKey(propertyKey: String): String { - return gradleLocalProperties(rootDir).getProperty(propertyKey) + return gradleLocalProperties(rootDir, providers).getProperty(propertyKey) }