File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
samples/jvm/src/main/kotlin Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ publishing {
172
172
}
173
173
}
174
174
repositories {
175
- if (project.hasProperty( " nexusPublish " ) ) {
175
+ if (System .getenv( " publishLocation " ) == " nexus " ) {
176
176
maven {
177
177
name = " nexus"
178
178
val releasesRepoUrl = " https://oss.sonatype.org/service/local/staging/deploy/maven2/"
@@ -202,11 +202,14 @@ publishing {
202
202
}
203
203
204
204
signing {
205
- if (project.hasProperty(" nexusPublish" )) sign(publishing.publications[" jvm" ])
205
+ if (System .getenv(" publishLocation" ) == " nexus" ) {
206
+ sign(publishing.publications[" jvm" ])
207
+ sign(publishing.publications[" js" ])
208
+ }
206
209
}
207
210
208
211
// get signing confs interactively if needed
209
- /* gradle.taskGraph.whenReady {
212
+ gradle.taskGraph.whenReady {
210
213
val alreadyConfigured = with (project.extra) {
211
214
(has(" signing.keyId" ) && has(" signing.secretKeyRingFile" ) && has(" signing.password" ))
212
215
|| (has(" signing.notNeeded" ) && get(" signing.notNeeded" ) == " true" )
@@ -233,7 +236,7 @@ signing {
233
236
234
237
console.printf(" \n Thanks.\n\n " )
235
238
}
236
- }*/
239
+ }
237
240
238
241
tasks {
239
242
val dokka by getting(DokkaTask ::class ) {
Original file line number Diff line number Diff line change
1
+ /* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2020; Original author: Adam Ratzman */
1
2
package apiUtils
2
3
3
4
import com.adamratzman.spotify.spotifyAppApi
@@ -31,4 +32,4 @@ fun main() {
31
32
useCache = false
32
33
}
33
34
}.build()
34
- }
35
+ }
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package appApi
3
3
4
4
import com.adamratzman.spotify.spotifyAppApi
5
5
6
-
7
6
fun main () {
8
7
// instantiate api
9
8
val api = spotifyAppApi(
You can’t perform that action at this time.
0 commit comments