Skip to content

Commit 686901a

Browse files
committed
Fix build
1 parent d45b6d8 commit 686901a

5 files changed

Lines changed: 15 additions & 19 deletions

File tree

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,16 @@ Adding support for the following sources:
1616

1717
## Lavalink version compatibility
1818

19-
| Lavalink Version | Plugin Version |
20-
|------------------|-----------------------|
21-
| 3.x.x | 1.4.x OR 1.5.x \* |
22-
| 4.x.x | 1.4.x, 1.5.x OR 1.6.x |
19+
| Lavalink Version | Plugin Version |
20+
|------------------|--------------------------------|
21+
| 3.x.x | 1.4.x OR 1.5.x \* |
22+
| v4 < 4.2 | 1.4.x, 1.5.x OR 1.6.x OR 1.7.0 |
23+
| 4.2+ | 1.7.1 |
2324

2425
**\* Version 1.5.x will only work on Lavalink v3 if you are running java 17 or newer**
2526

26-
### Latest version old releases
27-
28-
| Notation | Latest Version |
29-
|----------|----------------|
30-
| 1.4.x | 1.4.2 |
31-
| 1.5.x | 1.5.1 |
32-
3327
# Lava*player* users
34-
Currently not supported
35-
36-
~~If you need to add the source managers to your lavalink instance as well you can use this library to add them: https://github.com/DuncteBot/skybot-source-managers~~
28+
Currently not supported directly. You will need to compile the project manually for that.
3729

3830
# Adding to lavalink
3931

build.gradle.kts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
java
33
alias(libs.plugins.lavalink) apply false
4-
id("com.gradleup.shadow") version "9.0.0" apply false
4+
id("com.gradleup.shadow") version "9.3.2" apply false
55
id("com.github.breadmoirai.github-release") version "2.4.1" apply false
66
}
77

@@ -27,9 +27,13 @@ allprojects {
2727
}
2828

2929
tasks.withType<Wrapper> {
30-
gradleVersion = "8.11"
30+
gradleVersion = "9.3.1"
3131
distributionType = Wrapper.DistributionType.BIN
3232
}
33+
34+
tasks.withType<AbstractTestTask>().configureEach {
35+
failOnNoDiscoveredTests = false
36+
}
3337
}
3438

3539
subprojects {

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ githubRelease {
8181
owner("DuncteBot")
8282
repo("skybot-lavalink-plugin")
8383
targetCommitish(System.getenv("RELEASE_TARGET"))
84-
// releaseAssets(tasks.shadowJar.get().outputs.files.toList())
84+
releaseAssets(tasks.shadowJar.get().outputs.files.toList())
8585
tagName(verName)
8686
releaseName(verName)
8787
overwrite(false)

source-managers/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ val sourcesJar = tasks.register<Jar>("sourcesJar") {
5353
}
5454

5555
build.apply {
56-
// dependsOn(clean)
56+
dependsOn(clean)
5757
dependsOn(jar)
5858
dependsOn(sourcesJar)
5959

0 commit comments

Comments
 (0)