Skip to content

Commit

Permalink
chore: Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed Jun 20, 2024
1 parent 8f066d2 commit 0fe3739
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ indra {
spotless {
java {
palantirJavaFormat()
formatAnnotations()
importOrder("", "\\#")
custom("no-wildcard-imports") { it.apply { if (contains("*;\n")) error("No wildcard imports allowed") } }
licenseHeaderFile(rootProject.file("HEADER.txt"))
Expand Down Expand Up @@ -135,11 +136,11 @@ tasks.withType<JavaCompile> {
}
}

val downloadDistributorLoggingSimple by tasks.registering(GithubAssetDownload::class) {
val downloadSlf4md by tasks.registering(GithubAssetDownload::class) {
owner = "xpdustry"
repo = "distributor"
asset = "distributor-logging-simple.jar"
version = "v${libs.versions.distributor.get()}"
repo = "slf4md"
asset = "slf4md-simple.jar"
version = "v${libs.versions.slf4md.get()}"
}

val downloadDistributorCommon by tasks.registering(GithubAssetDownload::class) {
Expand All @@ -150,5 +151,5 @@ val downloadDistributorCommon by tasks.registering(GithubAssetDownload::class) {
}

tasks.runMindustryServer {
mods.from(downloadDistributorLoggingSimple, downloadDistributorCommon)
mods.from(downloadSlf4md, downloadDistributorCommon)
}
5 changes: 3 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ spotless = "6.25.0"
errorprone-gradle = "4.0.0"

# utilities
distributor = "4.0.0-beta.3"
slf4md = "1.0.0"
distributor = "4.0.0-rc.1"

# testing
junit = "5.10.2"

# static analysis
errorprone-core = "2.28.0"
nullaway = "0.11.0"
checker-qual = "3.43.0"
checker-qual = "3.44.0"

[libraries]
# utilities
Expand Down

0 comments on commit 0fe3739

Please sign in to comment.