From cdf174489c70ef1eb88f402cc8486a65f2cc3bce Mon Sep 17 00:00:00 2001 From: Jokwanhee Date: Mon, 30 Jan 2023 00:23:40 +0900 Subject: [PATCH] #35 [add] Add uri in settings.gradle.kts and Jetifier --- app/build.gradle.kts | 3 +++ app/src/main/AndroidManifest.xml | 7 ++++++- build.gradle.kts | 1 - gradle.properties | 4 +++- settings.gradle.kts | 3 +++ 5 files changed, 15 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 0a9402d8..6d1e1a61 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -24,7 +24,9 @@ android { buildConfigField("String", "naver_client_id", getPropertyKey("naver_client_id")) buildConfigField("String", "naver_client_secret", getPropertyKey("naver_client_secret")) buildConfigField("String", "naver_client_name", getPropertyKey("naver_client_name")) + buildConfigField("String", "naver_maps_client_id", getPropertyKey("naver_maps_client_id")) resValue("string", "kakao_oauth_host", getPropertyKey("kakao_oauth_host")) + resValue("string", "naver_maps_client_id", getPropertyKey("naver_maps_client_id")) } buildTypes { @@ -61,6 +63,7 @@ dependencies { implementation("com.kakao.sdk:v2-user:2.11.0") implementation("com.google.android.gms:play-services-auth:20.3.0") implementation("com.navercorp.nid:oauth:5.1.1") + KotlinDependencies.run { implementation(kotlin) implementation(coroutine) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index cbbf99fb..6c2c93f2 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -15,7 +15,9 @@ android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.JJBAKSAAOS" - tools:targetApi="31"> + tools:targetApi="31" + tools:replace="android:appComponentFactory" + android:appComponentFactory="whateverString"> @@ -54,6 +56,9 @@ android:scheme="@string/kakao_oauth_host" /> + \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index a291ac11..78fe7eff 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,6 @@ buildscript { repositories { google() mavenCentral() - maven("https://naver.jfrog.io/artifactory/maven/") } dependencies { classpath("com.android.tools.build:gradle:${Versions.gradleVersion}") diff --git a/gradle.properties b/gradle.properties index cd0519bb..e1c4e18b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,4 +20,6 @@ kotlin.code.style=official # Enables namespacing of each library's R class so that its R class includes only the # 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 \ No newline at end of file +android.nonTransitiveRClass=true + +android.enableJetifier=true \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 9380c02f..ae018516 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -13,6 +13,9 @@ dependencyResolutionManagement { maven { url = uri("https://devrepo.kakao.com/nexus/content/groups/public/") } + maven { + url = uri("https://naver.jfrog.io/artifactory/maven/") + } } } rootProject.name = "JJBAKSA"