Skip to content

Commit 0b5ca5d

Browse files
author
Kirill Penzykov
committed
maven preparing
1 parent 2587b3e commit 0b5ca5d

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Check this [project on Behance] (https://www.behance.net/gallery/20411445/Mobile
1515
*For a working implementation, have a look at the ```app``` module*
1616

1717
#### 1. Clone repository and add sources into your project or use Gradle:
18-
``` compile 'com.yalantis:contextmenu:1.0.2' ```
18+
``` compile 'com.yalantis:contextmenu:1.0.3' ```
1919
#### 2. Create list of `MenuObject`, which consists of icon or icon and description.
2020
You can use any `resource, bitmap, drawable, color` as image:
2121
```

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818
# org.gradle.parallel=true
1919

20-
VERSION_NAME=1.0.2
21-
VERSION_CODE=3
20+
VERSION_NAME=1.0.3
21+
VERSION_CODE=4
2222
GROUP=com.yalantis
2323

2424
POM_DESCRIPTION=Android Library to display awesome context menu

mavenpush.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
apply plugin: 'maven'
22
apply plugin: 'signing'
33

4+
def isReleaseBuild() {
5+
//return VERSION_NAME.contains("SNAPSHOT") == false
6+
return true
7+
}
8+
49
def sonatypeRepositoryUrl
510
if (isReleaseBuild()) {
611
println 'RELEASE BUILD'
@@ -9,7 +14,7 @@ if (isReleaseBuild()) {
914
} else {
1015
println 'DEBUG BUILD'
1116
sonatypeRepositoryUrl = hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
12-
: "https://oss.sonatype.org/content/repositories/snapshots/"
17+
: "https://oss.sonatype.org/content/repositories/snapshots/"
1318
}
1419

1520
def getRepositoryUsername() {

0 commit comments

Comments
 (0)