Skip to content
This repository was archived by the owner on Jun 19, 2021. It is now read-only.

Commit cf55dd3

Browse files
committed
Fixed issue with build if no BINTRAY_USER is defined.
Fixed issue with build if no BINTRAY_USER is defined. Uploaded version 1.0.2
1 parent 2eceb9b commit cf55dd3

2 files changed

Lines changed: 41 additions & 39 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Example:
1515

1616
Add the following into your build.gradle:
1717
```groovy
18-
compile 'za.co.riggaroo:materialhelptutorial:1.0.1'
18+
compile 'za.co.riggaroo:materialhelptutorial:1.0.2'
1919
```
2020
In your activity, create a list of TutorialItems (set the title, subtitle, background colour and image drawable int). Pass them onto the MaterialTutorialActivity and start the activity for result.
2121
```java

materialhelptutorial/build.gradle

Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22
apply plugin: 'com.github.dcendents.android-maven'
33
apply plugin: 'com.jfrog.bintray'
44

5-
version = "1.0.1"
5+
version = "1.0.2"
66
group = "za.co.riggaroo"
77

88
def siteUrl = 'https://github.com/spongebobrf/MaterialIntroTutorial'
@@ -15,8 +15,8 @@ android {
1515
defaultConfig {
1616
minSdkVersion 15
1717
targetSdkVersion 23
18-
versionCode 2
19-
versionName "1.0.1"
18+
versionCode 3
19+
versionName "1.0.2"
2020
}
2121
buildTypes {
2222
release {
@@ -35,54 +35,56 @@ dependencies {
3535
}
3636

3737

38+
if (hasProperty("BINTRAY_USER")){
39+
bintray {
40+
user = BINTRAY_USER
41+
key = BINTRAY_KEY
3842

39-
bintray {
40-
user = BINTRAY_USER
41-
key = BINTRAY_KEY
42-
43-
configurations = ['archives']
44-
pkg {
45-
repo = "maven"
46-
name = "MaterialIntroTutorial"
47-
websiteUrl = siteUrl
48-
vcsUrl = gitUrl
49-
licenses = ["Apache-2.0"]
50-
publish = true
43+
configurations = ['archives']
44+
pkg {
45+
repo = "maven"
46+
name = "MaterialIntroTutorial"
47+
websiteUrl = siteUrl
48+
vcsUrl = gitUrl
49+
licenses = ["Apache-2.0"]
50+
publish = true
51+
}
5152
}
52-
}
5353

5454

55-
install {
56-
repositories.mavenInstaller {
57-
pom {
58-
project {
59-
packaging 'aar'
55+
install {
56+
repositories.mavenInstaller {
57+
pom {
58+
project {
59+
packaging 'aar'
6060

61-
name 'Android Library for a material intro tutorial'
62-
url siteUrl
63-
licenses {
64-
license {
65-
name 'The Apache Software License, Version 2.0'
66-
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
61+
name 'Android Library for a material intro tutorial'
62+
url siteUrl
63+
licenses {
64+
license {
65+
name 'The Apache Software License, Version 2.0'
66+
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
67+
}
6768
}
68-
}
69-
developers {
70-
developer {
71-
id 'riggaroo'
72-
name 'Rebecca Franks'
73-
email 'franks.rebecca@gmail.com'
69+
developers {
70+
developer {
71+
id 'riggaroo'
72+
name 'Rebecca Franks'
73+
email 'franks.rebecca@gmail.com'
74+
}
7475
}
75-
}
76-
scm {
77-
connection gitUrl
78-
developerConnection gitUrl
79-
url siteUrl
76+
scm {
77+
connection gitUrl
78+
developerConnection gitUrl
79+
url siteUrl
8080

81+
}
8182
}
8283
}
8384
}
8485
}
8586
}
87+
8688
task sourcesJar(type: Jar) {
8789
from android.sourceSets.main.java.srcDirs
8890
classifier = 'sources'

0 commit comments

Comments
 (0)