-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SPOCON-2020-11-21 updated new librespot version to 1.5.2
- Loading branch information
Showing
3 changed files
with
135 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1,99 @@ | ||
|
||
plugins { | ||
id 'org.springframework.boot' version '2.3.1.RELEASE' | ||
id 'io.spring.dependency-management' version '1.0.9.RELEASE' | ||
id 'java' | ||
id 'maven' | ||
id 'signing' | ||
} | ||
|
||
group = 'me.haga.librespot.spotifi' | ||
description = 'Spotify Client + RestAPI + Spotify GUI' | ||
|
||
|
||
sourceCompatibility = '11' | ||
|
||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation('org.springframework.boot:spring-boot-starter-web') { | ||
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' | ||
} | ||
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.0' | ||
implementation 'com.google.protobuf:protobuf-java-util:3.11.4' | ||
implementation 'xyz.gianlu.librespot:librespot-player:1.5.1' | ||
implementation 'org.apache.logging.log4j:log4j-core:2.13.2' | ||
implementation 'org.apache.logging.log4j:log4j-api:2.13.2' | ||
} | ||
|
||
/* | ||
task sourcesJar(type: Jar, dependsOn: classes) { | ||
classifier = 'sources' | ||
from sourceSets.main.allSource | ||
} | ||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
from javadoc.destinationDir | ||
} | ||
artifacts { | ||
archives sourcesJar | ||
archives javadocJar | ||
} | ||
signing { | ||
required { gradle.taskGraph.hasTask('uploadArchives') } | ||
sign configurations.archives | ||
} | ||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") { | ||
authentication(userName: spoconMavenUsername, password: spoconMavenPassword) | ||
} | ||
pom.project { | ||
name 'Lovspotify' | ||
packaging 'jar' | ||
// optionally artifactId can be defined here | ||
description 'Spotify Client + RestAPI + Spotify GUI written in Java ' | ||
url 'https://github.com/spocon/lovspotify' | ||
scm { | ||
connection 'scm:git:git://github.com/spocon/lovspotify.git' | ||
developerConnection 'scm:git:ssh://github.com:spocon/lovspotify.git' | ||
url 'https://github.com/spocon/lovspotify' | ||
} | ||
licenses { | ||
license { | ||
name 'The Apache License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
} | ||
} | ||
developers { | ||
developer { | ||
organization 'Lovspotify Developers' | ||
organizationUrl 'https://github.com/spocon/lovspotify/graphs/contributors' | ||
} | ||
} | ||
} | ||
pom.version = "1.5.2" | ||
pom.artifactId = "lovspotify" | ||
pom.groupId = "me.haga.librespot.spotifi" | ||
} | ||
} | ||
}*/ | ||
|
||
plugins { | ||
id 'org.springframework.boot' version '2.3.1.RELEASE' | ||
id 'io.spring.dependency-management' version '1.0.9.RELEASE' | ||
id 'java' | ||
id 'maven' | ||
id 'signing' | ||
} | ||
|
||
group = 'me.haga.librespot.spotifi' | ||
description = 'Spotify Client + RestAPI + Spotify GUI' | ||
|
||
|
||
sourceCompatibility = '11' | ||
|
||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation('org.springframework.boot:spring-boot-starter-web') { | ||
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging' | ||
} | ||
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.0' | ||
implementation 'com.google.protobuf:protobuf-java-util:3.11.4' | ||
implementation 'xyz.gianlu.librespot:librespot-player:1.5.2' | ||
implementation 'org.apache.logging.log4j:log4j-core:2.13.2' | ||
implementation 'org.apache.logging.log4j:log4j-api:2.13.2' | ||
} | ||
|
||
|
||
task sourcesJar(type: Jar, dependsOn: classes) { | ||
classifier = 'sources' | ||
from sourceSets.main.allSource | ||
} | ||
|
||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
from javadoc.destinationDir | ||
} | ||
|
||
artifacts { | ||
archives sourcesJar | ||
archives javadocJar | ||
} | ||
|
||
|
||
signing { | ||
required { gradle.taskGraph.hasTask('uploadArchives') } | ||
|
||
sign configurations.archives | ||
} | ||
|
||
|
||
uploadArchives { | ||
|
||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
|
||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") { | ||
authentication(userName: spoconMavenUsername, password: spoconMavenPassword) | ||
} | ||
|
||
pom.project { | ||
name 'Lovspotify' | ||
packaging 'jar' | ||
// optionally artifactId can be defined here | ||
description 'Spotify Client + RestAPI + Spotify GUI written in Java ' | ||
url 'https://github.com/spocon/lovspotify' | ||
|
||
scm { | ||
connection 'scm:git:git://github.com/spocon/lovspotify.git' | ||
developerConnection 'scm:git:ssh://github.com:spocon/lovspotify.git' | ||
url 'https://github.com/spocon/lovspotify' | ||
} | ||
|
||
licenses { | ||
license { | ||
name 'The Apache License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
} | ||
} | ||
|
||
developers { | ||
developer { | ||
organization 'Lovspotify Developers' | ||
organizationUrl 'https://github.com/spocon/lovspotify/graphs/contributors' | ||
} | ||
} | ||
} | ||
|
||
pom.version = "1.5.3" | ||
pom.artifactId = "lovspotify" | ||
pom.groupId = "me.haga.librespot.spotifi" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters