@@ -29,9 +29,9 @@ allprojects {
2929allprojects {
3030 group = ' com.optimizely.ab'
3131
32- def travis_defined_version = System . getenv(' GITHUB_TAG' )
33- if (travis_defined_version != null ) {
34- version = travis_defined_version
32+ def github_tagged_version = System . getenv(' GITHUB_TAG' )
33+ if (github_tagged_version != null ) {
34+ version = github_tagged_version
3535 }
3636
3737 ext. isReleaseVersion = ! version. endsWith(" SNAPSHOT" )
@@ -52,13 +52,6 @@ configure(publishedProjects) {
5252 sourceCompatibility = 1.8
5353 targetCompatibility = 1.8
5454
55- // repositories {
56- // // jcenter()
57- // maven {
58- // url 'https://plugins.gradle.org/m2/'
59- // }
60- // }
61-
6255 task sourcesJar(type : Jar , dependsOn : classes) {
6356 archiveClassifier. set(' sources' )
6457 from sourceSets. main. allSource
@@ -125,7 +118,6 @@ configure(publishedProjects) {
125118 }
126119 }
127120
128-
129121 def docTitle = " Optimizely Java SDK"
130122 if (name. equals(' core-httpclient-impl' )) {
131123 docTitle = " Optimizely Java SDK: Httpclient"
@@ -142,17 +134,6 @@ configure(publishedProjects) {
142134 artifact javadocJar
143135 }
144136 }
145- // repositories {
146- // maven {
147- // def releaseUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2"
148- // def snapshotUrl = "https://central.sonatype.com/repository/maven-snapshots/"
149- // url = isReleaseVersion ? releaseUrl : snapshotUrl
150- // credentials {
151- // username System.getenv('MAVEN_CENTRAL_USERNAME')
152- // password System.getenv('MAVEN_CENTRAL_PASSWORD')
153- // }
154- // }
155- // }
156137 }
157138
158139 signing {
@@ -240,7 +221,6 @@ tasks.coveralls {
240221}
241222
242223// standard POM format required by MavenCentral
243-
244224def customizePom (pom , title ) {
245225 pom. withXml {
246226 asNode(). children(). last() + {
0 commit comments