Skip to content

Commit

Permalink
release 1.1.0-hotfix07
Browse files Browse the repository at this point in the history
fix : maven publish 수정 ref jitpack example
  • Loading branch information
kjh5833 committed Sep 27, 2021
1 parent 4b3976f commit 0b7368b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 17 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
43 changes: 28 additions & 15 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 0b7368b

Please sign in to comment.