Skip to content

Commit

Permalink
build: remove VanillaGradle usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed Nov 29, 2024
1 parent 244092f commit d5a41b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ adventurePlatformFabric = "5.14.2"
adventurePlatformNeoforge = "6.0.0"
mixin = "0.8.7"
neoforge = "21.1.82"
neoForm = "1.21.1-20240808.144430"

# buildSrc
indra = "3.1.3"
Expand Down
2 changes: 0 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ pluginManagement {
maven("https://repo.jpenilla.xyz/snapshots/") {
mavenContent { snapshotsOnly() }
}
maven("https://repo.spongepowered.org/repository/maven-public/")
}
includeBuild("gradle/build-logic")
}

plugins {
id("quiet-fabric-loom") version "1.8-SNAPSHOT"
id("org.spongepowered.gradle.vanilla") version "0.2.1-SNAPSHOT"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
id("net.neoforged.moddev.repositories") version "2.0.49-beta"
}
Expand Down
8 changes: 3 additions & 5 deletions sponge/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import org.spongepowered.gradle.plugin.config.PluginLoaders
import org.spongepowered.gradle.vanilla.repository.MinecraftPlatform
import org.spongepowered.plugin.metadata.model.PluginDependency

plugins {
id("tabtps.platform")
alias(libs.plugins.sponge.gradle)
id("org.spongepowered.gradle.vanilla")
id("net.neoforged.moddev")
}

// Workaround weird interaction between VanillaGradle and shadow
Expand Down Expand Up @@ -54,9 +53,8 @@ sponge {
}
}

minecraft {
version("1.21.1")
platform(MinecraftPlatform.JOINED)
neoForge {
neoFormVersion = libs.versions.neoForm
}

tasks {
Expand Down

0 comments on commit d5a41b9

Please sign in to comment.