@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22apply plugin : ' com.github.dcendents.android-maven'
33apply plugin : ' com.jfrog.bintray'
44
5- version = " 1.0.1 "
5+ version = " 1.0.2 "
66group = " za.co.riggaroo"
77
88def 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+
8688task sourcesJar (type : Jar ) {
8789 from android. sourceSets. main. java. srcDirs
8890 classifier = ' sources'
0 commit comments