File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 <username >${env.SONATYPE_USERNAME}</username >
88 <password >${env.SONATYPE_PASSWORD}</password >
99 </server >
10+ <server >
11+ <!-- GitHub Packages -->
12+ <id >github</id >
13+ <username >devgianlu</username >
14+ <password >${env.GITHUB_TOKEN}</password >
15+ </server >
1016 </servers >
1117
1218 <profiles >
1319 <profile >
1420 <id >ossrh</id >
15- <activation >
16- <activeByDefault >true</activeByDefault >
17- </activation >
1821 <properties >
1922 <gpg .executable>${env.GPG_EXECUTABLE}</gpg .executable>
2023 <gpg .passphrase>${env.GPG_PASSPHRASE}</gpg .passphrase>
2124 </properties >
25+ <repositories >
26+ <repository >
27+ <id >ossrh</id >
28+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2</url >
29+ <releases >
30+ <enabled >true</enabled >
31+ </releases >
32+ </repository >
33+ <repository >
34+ <id >ossrh</id >
35+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
36+ <snapshots >
37+ <enabled >true</enabled >
38+ </snapshots >
39+ <releases >
40+ <enabled >true</enabled >
41+ </releases >
42+ </repository >
43+ </repositories >
44+ </profile >
45+ <profile >
46+ <id >github</id >
47+ <repositories >
48+ <repository >
49+ <id >github</id >
50+ <url >https://maven.pkg.github.com/librespot-org/librespot-java</url >
51+ <releases >
52+ <enabled >true</enabled >
53+ </releases >
54+ </repository >
55+ </repositories >
2256 </profile >
2357 </profiles >
2458</settings >
Original file line number Diff line number Diff line change @@ -34,12 +34,19 @@ deploy:
3434 jdk : ' openjdk8'
3535 tags : true
3636 - provider : script
37- script : mvn deploy --settings .maven.xml -B -U -Prelease
37+ script : mvn deploy --settings .maven.xml -B -U -Prelease,ossrh
3838 on :
3939 repo : librespot-org/librespot-java
4040 jdk : ' openjdk8'
4141 all_branches : true
4242 condition : $TRAVIS_BRANCH = "master" || $TRAVIS_BRANCH = "dev"
43+ - provider : script
44+ script : mvn deploy --settings .maven.xml -B -U -Prelease,github
45+ on :
46+ repo : librespot-org/librespot-java
47+ jdk : ' openjdk8'
48+ all_branches : true
49+ condition : $TRAVIS_BRANCH = "master"
4350
4451cache :
4552 directories :
Original file line number Diff line number Diff line change 1- # librespot-api
1+ # API
22[ ![ Maven Central] ( https://maven-badges.herokuapp.com/maven-central/xyz.gianlu.librespot/librespot-api/badge.svg )] ( https://maven-badges.herokuapp.com/maven-central/xyz.gianlu.librespot/librespot-api )
33
44This module depends on ` librespot-core ` and provides an API to interact with the Spotify client.
Original file line number Diff line number Diff line change 11# Library
2+ [ ![ Maven Central] ( https://maven-badges.herokuapp.com/maven-central/xyz.gianlu.librespot/librespot-lib/badge.svg )] ( https://maven-badges.herokuapp.com/maven-central/xyz.gianlu.librespot/librespot-lib )
3+
4+
25This module contains all the necessary components to interact with the Spotify infrastructure, but doesn't require configuration files or additional system resources.
36
47## Getting started
Original file line number Diff line number Diff line change 11# Player
2+ [ ![ Maven Central] ( https://maven-badges.herokuapp.com/maven-central/xyz.gianlu.librespot/librespot-player/badge.svg )] ( https://maven-badges.herokuapp.com/maven-central/xyz.gianlu.librespot/librespot-player )
3+
24This module allows running ` librespot-java ` in headless mode as a Spotify Connect device.
35
46## Get started
Original file line number Diff line number Diff line change 8383 </dependency >
8484 </dependencies >
8585
86- <distributionManagement >
87- <snapshotRepository >
88- <id >ossrh</id >
89- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
90- </snapshotRepository >
91- <repository >
92- <id >ossrh</id >
93- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2</url >
94- </repository >
95- </distributionManagement >
96-
9786 <build >
9887 <plugins >
9988 <!-- Run tests -->
You can’t perform that action at this time.
0 commit comments