Skip to content

Commit

Permalink
Merge pull request #164 from MinnDevelopment/master
Browse files Browse the repository at this point in the history
Compatibility with Java 8 through 10
  • Loading branch information
freyacodes authored Jan 17, 2019
2 parents 16c1b8e + 08220ee commit f38944d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
build/*
*.jar
!gradle/wrapper/gradle-wrapper.jar
.project
.classpath
.settings
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ Contributor:
## v3.2.0.1
* Bumped to Java 11. Treating this as a patch version, as v3.2 still requires Java 11 due to a Magma update.

Contributor:
[@Frederikam](https://github.com/Frederikam/)
[@Frederikam](https://github.com/Frederikam)

## v3.2
* Added resuming
* Added support for resuming
* Added noReplace option to the play op
* Sending the same voice server update will not cause an existing connection to reconnect

Contributor:
[@Frederikam](https://github.com/Frederikam/)
[@Frederikam](https://github.com/Frederikam)

## v3.1.2
* Add API version header to all responses
Expand Down
5 changes: 2 additions & 3 deletions LavalinkServer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ bootJar {
archiveName = "Lavalink.jar"
}

sourceCompatibility = 11
targetCompatibility = 11
sourceCompatibility = targetCompatibility = 1.8

bootRun {
//compiling tests during bootRun increases the likelihood of catching broken tests locally instead of on the CI
Expand All @@ -38,7 +37,7 @@ test {
}

dependencies {
compile group: 'space.npstr', name: 'Magma', version: magmaVersion
compile group: 'club.minnced', name: 'magma', version: magmaVersion
compile group: 'com.sedmelluq', name: 'lavaplayer', version: lavaplayerVersion
compile group: 'com.sedmelluq', name: 'jda-nas', version: jdaNasVersion
compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: kotlinVersion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void setPassword(String password) {
/**
* @deprecated use {@link SentryConfigProperties} instead.
*/
@Deprecated(since = "3")
@Deprecated
public String getSentryDsn() {
return sentryDsn;
}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ users about the compatibility of their clients to the Lavalink server.
* [Luna](https://github.com/CharlotteDunois/Luna) ([Yasmin](https://github.com/CharlotteDunois/Yasmin) or generic, PHP)
* [gavalink](https://github.com/foxbot/gavalink) (Go)
* [Magma](https://github.com/initzx/magma/) (discord.py, Python)
* [lavapotion](https://github.com/SamOphis/lavapotion) (Elixir)
* Or [create your own](https://github.com/Frederikam/Lavalink/blob/master/IMPLEMENTATION.md)

### Supports 2.x:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ allprojects {
mavenCentral() // main maven repo
jcenter() // JDA and some other stuff
mavenLocal() // useful for developing
maven { url "https://jitpack.io" } // build projects directly from github
maven { url "https://jitpack.io" } // build projects directly from github
}

group = 'lavalink'
Expand All @@ -50,7 +50,7 @@ subprojects {
//@formatter:off

lavaplayerVersion = '1.3.10'
magmaVersion = '0.8.3'
magmaVersion = '0.9.0'
jdaNasVersion = '1.0.6'
jappVersion = '1.3'

Expand Down

0 comments on commit f38944d

Please sign in to comment.