Skip to content

Commit

Permalink
move gradle plugins to libs file
Browse files Browse the repository at this point in the history
  • Loading branch information
ham1255 committed Dec 23, 2024
1 parent 8cce36a commit 1443f54
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
3 changes: 1 addition & 2 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import java.time.Instant
import java.io.ByteArrayOutputStream

plugins {
`java-library`
`maven-publish`
alias(libs.plugins.net.kyori.blossom)
alias(libs.plugins.blossom)

}

Expand Down
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ bungeecordApi = "1.21-R0.1-SNAPSHOT"
velocity = "3.4.0-SNAPSHOT"

[plugins]
net-kyori-blossom = { id = "net.kyori.blossom", version = "1.2.0" }
blossom = { id = "net.kyori.blossom", version = "1.2.0" }
shadow = { id = "com.github.johnrengelman.shadow", version = "8.1.1" }
run-velocity = { id = "xyz.jpenilla.run-velocity", version = "2.0.0" }

[libraries]
guava = { module = "com.google.guava:guava", version.ref = "guava" }
Expand Down
3 changes: 1 addition & 2 deletions proxies/bungeecord/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
//id("xyz.jpenilla.run-waterfall") version "2.0.0"
alias(libs.plugins.shadow)
}

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions proxies/velocity/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
java
id("com.github.johnrengelman.shadow") version "8.1.1"
id("xyz.jpenilla.run-velocity") version "2.0.0"
alias(libs.plugins.shadow)
alias(libs.plugins.run.velocity)
}

dependencies {
Expand Down

0 comments on commit 1443f54

Please sign in to comment.