Skip to content

Commit

Permalink
chore(build): Resolve remaining deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Jan 24, 2024
1 parent 08930b9 commit 5598400
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ plugins {
alias(libs.plugins.eventImplGen)
alias(libs.plugins.ideaExt)
alias(libs.plugins.errorprone)
alias(libs.plugins.nexusPublish)
}

val ap by sourceSets.registering {
Expand Down Expand Up @@ -127,7 +128,7 @@ dependencies {
tasks {
genEventImpl {
sourceCompatibility = "17"
destinationDir = project.layout.buildDirectory.dir("generated/event-factory").get().asFile
destinationDirectory = project.layout.buildDirectory.dir("generated/event-factory")

outputFactory = "org.spongepowered.api.event.SpongeEventFactory"
include("org/spongepowered/api/event/*/**/*")
Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ mockito = { module = "org.mockito:mockito-core", version.ref = "mockito" }

[plugins]
errorprone = { id = "net.ltgt.errorprone", version = "3.1.0" }
eventImplGen = { id = "org.spongepowered.gradle.event-impl-gen", version = "7.0.0" }
eventImplGen = { id = "org.spongepowered.gradle.event-impl-gen", version = "7.1.0" }
ideaExt = { id = "org.jetbrains.gradle.plugin.idea-ext", version = "1.1.7" }
indra-checkstyle = { id = "net.kyori.indra.checkstyle", version.ref = "indra" }
indra-crossdoc = { id = "net.kyori.indra.crossdoc", version.ref = "indra" }
indra-publishing = { id = "net.kyori.indra.publishing", version.ref = "indra" }
indra-publishing-sonatype = { id = "net.kyori.indra.publishing.sonatype", version.ref = "indra" }
nexusPublish = { id = "io.github.gradle-nexus.publish-plugin", version = "2.0.0-rc-1"}
spongeGradle-convention = { id = "org.spongepowered.gradle.sponge.dev", version = "2.2.0" }

0 comments on commit 5598400

Please sign in to comment.