@@ -29,9 +29,9 @@ allprojects {
29
29
allprojects {
30
30
group = ' com.optimizely.ab'
31
31
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
35
35
}
36
36
37
37
ext. isReleaseVersion = ! version. endsWith(" SNAPSHOT" )
@@ -52,13 +52,6 @@ configure(publishedProjects) {
52
52
sourceCompatibility = 1.8
53
53
targetCompatibility = 1.8
54
54
55
- // repositories {
56
- // // jcenter()
57
- // maven {
58
- // url 'https://plugins.gradle.org/m2/'
59
- // }
60
- // }
61
-
62
55
task sourcesJar(type : Jar , dependsOn : classes) {
63
56
archiveClassifier. set(' sources' )
64
57
from sourceSets. main. allSource
@@ -125,7 +118,6 @@ configure(publishedProjects) {
125
118
}
126
119
}
127
120
128
-
129
121
def docTitle = " Optimizely Java SDK"
130
122
if (name. equals(' core-httpclient-impl' )) {
131
123
docTitle = " Optimizely Java SDK: Httpclient"
@@ -142,17 +134,6 @@ configure(publishedProjects) {
142
134
artifact javadocJar
143
135
}
144
136
}
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
- // }
156
137
}
157
138
158
139
signing {
@@ -240,7 +221,6 @@ tasks.coveralls {
240
221
}
241
222
242
223
// standard POM format required by MavenCentral
243
-
244
224
def customizePom (pom , title ) {
245
225
pom. withXml {
246
226
asNode(). children(). last() + {
0 commit comments