forked from lavalink-devs/Lavalink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to gradle (lavalink-devs#25)
* Migrate to gradle * Trigger fat jar build * WIP * Replace shadow plugin with spring boot * Ignore output
- Loading branch information
1 parent
d63de5a
commit b7b13f6
Showing
15 changed files
with
383 additions
and
512 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
/target/ | ||
/application.yml | ||
*/dependency-reduced-pom.xml | ||
.gradle/* | ||
build/* | ||
*.jar |
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
/logs/ | ||
/target/ | ||
/dependency-reduced-pom.xml | ||
build/* |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
description = 'JDA based client for the Lavalink-Server' | ||
version System.getenv('dev') == 'true' ? '-SNAPSHOT' : '1.2' | ||
ext { | ||
moduleName = 'Lavalink-Client' | ||
} | ||
dependencies { | ||
compile group: 'com.sedmelluq', name: 'lavaplayer', version: '1.2.44' | ||
compile group: 'org.java-websocket', name: 'Java-WebSocket', version: '1.3.4' | ||
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25' | ||
compile group: 'org.json', name: 'json', version: '20170516' | ||
compile group: 'net.dv8tion', name: 'JDA', version: '3.3.1_297' | ||
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.0.0-M4' | ||
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.0.0-M4' | ||
testCompile group: 'org.junit.platform', name: 'junit-platform-launcher', version: '1.0.0-M4' | ||
testCompile group: 'org.junit.platform', name: 'junit-platform-runner', version: '1.0.0-M4' | ||
testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3' | ||
testCompile group: 'com.mashape.unirest', name: 'unirest-java', version: '1.4.9' | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,3 +4,5 @@ | |
/application.yml | ||
/target/ | ||
/debug_token | ||
build/* | ||
/out/ |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
plugins { | ||
id 'application' | ||
id 'org.springframework.boot' version '1.5.8.RELEASE' | ||
} | ||
|
||
description = 'Play audio to discord voice channels' | ||
mainClassName = "lavalink.server.Launcher" | ||
version '1.2' | ||
ext { | ||
moduleName = 'Lavalink-Server' | ||
} | ||
|
||
jar { | ||
archiveName = "Lavalink.jar" | ||
} | ||
publishToMavenLocal.dependsOn 'bootRepackage' | ||
|
||
dependencies { | ||
compile group: 'com.sedmelluq', name: 'lavaplayer', version: '1.2.44' | ||
compile group: 'com.github.DV8FromTheWorld', name: 'JDA-Audio', version: '7a3f9d40a32b74b6e85e0e0c8f9a051f004b5584' | ||
compile group: 'org.java-websocket', name: 'Java-WebSocket', version: '1.3.4' | ||
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3' | ||
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25' | ||
compile group: 'io.sentry', name: 'sentry-logback', version: '1.5.3' | ||
compile group: 'com.github.oshi', name: 'oshi-core', version: '3.4.3' | ||
compile group: 'org.json', name: 'json', version: '20170516' | ||
compile group: 'com.github.FredBoat', name: 'jda-nas', version: '1.0.5.1-JDA-Audio' | ||
compile group: 'com.sedmelluq', name: 'lavaplayer-common', version: '1.0.5' | ||
compile group: 'com.google.guava', name: 'guava', version: '22.0' | ||
compile group: 'com.github.shredder121', name: 'jda-async-packetprovider', version: '1.0' | ||
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '1.5.4.RELEASE' | ||
compile group: 'org.springframework.boot', name: 'spring-boot-autoconfigure', version: '1.5.4.RELEASE' | ||
compile group: 'org.springframework', name: 'spring-web', version: '4.3.9.RELEASE' | ||
} |
Oops, something went wrong.