Skip to content

Commit 171ea49

Browse files
committed
publish to maven fixes.
1 parent c1b89e2 commit 171ea49

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<img src="images/showcase.gif" width="540" height="105">
22

33
# SwipeToActionLayout
4+
5+
![Min Android Sdk](https://img.shields.io/badge/minSdkVersion-16-1976D2.svg)
46
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.st235/swipetoactionlayout/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.st235/swipetoactionlayout)
57

68
SwipeToActionLayout is a layout which helps to implement swipe to reveal behaviour. It is really easy to setup and maintain.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66

77
dependencies {
88
classpath 'com.android.tools.build:gradle:7.2.1'
9-
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0'
9+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10'
1010
}
1111
}
1212

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kotlin.code.style=official
66
GROUP=com.github.st235
77

88
VERSION_CODE=35
9-
VERSION_NAME=1.1.0
9+
VERSION_NAME=1.1.1
1010

1111
POM_DESCRIPTION=Another one swipe gesture menu.
1212
POM_URL=https://github.com/st235/SwipeToActionLayout
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
POM_NAME=swipetoactionlayout
2-
POM_ARTIFACT_ID=swipetoactionlayout
3-
POM_PACKAGING=aar
1+
ARTIFACT_ID=swipetoactionlayout

lib-swipetoactionlayout/maven.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,18 @@ def getRepositoryPassword() {
2323
return hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ""
2424
}
2525

26+
def retrieveArtifactId() {
27+
return hasProperty('ARTIFACT_ID') ? ARTIFACT_ID : project.name
28+
}
29+
2630
afterEvaluate {
2731
publishing {
2832
publications {
2933
release(MavenPublication) {
3034
from components.release
3135

3236
groupId = GROUP
33-
artifactId = project.name
37+
artifactId = retrieveArtifactId()
3438
version = VERSION_NAME
3539

3640
repositories {

0 commit comments

Comments
 (0)