From 0b7368b0474a62049c6ced6b5cf00dea817f2187 Mon Sep 17 00:00:00 2001 From: bingbong Date: Mon, 27 Sep 2021 21:05:07 +0900 Subject: [PATCH] release 1.1.0-hotfix07 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix : maven publish 수정 ref jitpack example --- buildSrc/src/main/java/Dependencies.kt | 4 +-- sdk/build.gradle | 43 +++++++++++++++++--------- 2 files changed, 30 insertions(+), 17 deletions(-) diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt index 2253c62a..b3f520e9 100644 --- a/buildSrc/src/main/java/Dependencies.kt +++ b/buildSrc/src/main/java/Dependencies.kt @@ -1,7 +1,7 @@ // 디펜던시 업데이트 확인 ./gradlew dependencyUpdates -Drevision=release object Versions { - const val versionCode = 210927006 // yymmdd000 - const val versionName = "1.1.0-hotfix06" // https://www.notion.so/chaifinance/QA-Process-d1a4be396337493b81c6e85fff2d5cd6 + const val versionCode = 210927007 // yymmdd000 + const val versionName = "1.1.0-hotfix07" // https://www.notion.so/chaifinance/QA-Process-d1a4be396337493b81c6e85fff2d5cd6 const val gradle_versions_plugin = "0.39.0" const val gradle_version = "4.1.1" diff --git a/sdk/build.gradle b/sdk/build.gradle index 4bb9394a..5108646d 100644 --- a/sdk/build.gradle +++ b/sdk/build.gradle @@ -60,35 +60,48 @@ android { } } - -// Because the components are created only during the afterEvaluate phase, you must -// configure your publications using the afterEvaluate() lifecycle method. afterEvaluate { publishing { publications { // Creates a Maven publication called "release". release(MavenPublication) { - // Applies the component for the release build variant. from components.release - - // You can then customize attributes of the publication as shown below. groupId = 'com.github.iamport' artifactId = 'iamport-android' version = Versions.versionName } - // Creates a Maven publication called “debug”. - debug(MavenPublication) { - // Applies the component for the debug build variant. - from components.debug - - groupId = 'com.github.iamport' - artifactId = 'iamport-android-debug' - version = Versions.versionName - } } } } +//// Because the components are created only during the afterEvaluate phase, you must +//// configure your publications using the afterEvaluate() lifecycle method. +//afterEvaluate { +// publishing { +// publications { +// // Creates a Maven publication called "release". +// release(MavenPublication) { +// // Applies the component for the release build variant. +// from components.release +// +// // You can then customize attributes of the publication as shown below. +// groupId = 'com.github.iamport' +// artifactId = 'iamport-android' +// version = Versions.versionName +// } +//// // Creates a Maven publication called “debug”. +//// debug(MavenPublication) { +//// // Applies the component for the debug build variant. +//// from components.debug +//// +//// groupId = 'com.github.iamport' +//// artifactId = 'iamport-android-debug' +//// version = Versions.versionName +//// } +// } +// } +//} + dependencies {