Skip to content

Commit

Permalink
Bump Loom version, clean up build script
Browse files Browse the repository at this point in the history
  • Loading branch information
LostLuma committed Oct 1, 2023
1 parent 7707890 commit 300f2c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'maven-publish'
id "maven-publish"
alias libs.plugins.fabric.loom
}

Expand All @@ -19,8 +19,8 @@ dependencies {
minecraft libs.minecraft
mappings loom.officialMojangMappings()

modImplementation libs.fabric.api
modImplementation libs.fabric.loader
modImplementation libs.bundles.fabric.api

modApi libs.modmenu
modApi libs.cloth.config
Expand All @@ -42,7 +42,7 @@ java {
}

tasks.withType(JavaCompile).configureEach {
it.options.release = 17
it.options.release.set(17)
it.options.encoding = "UTF-8"

it.options.compilerArgs += ["-Xlint:deprecation"]
Expand Down
3 changes: 1 addition & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ fabric_api = { module = "net.fabricmc.fabric-api:fabric-api", version.ref = "fab
cloth_config = { module = "me.shedaniel.cloth:cloth-config-fabric", version.ref = "cloth_config" }

[bundles]
fabric_api = ["fabric_api"]

[plugins]
fabric_loom = { id = "fabric-loom", version = "1.3.8" }
fabric_loom = { id = "fabric-loom", version = "1.4.1" }
4 changes: 0 additions & 4 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ pluginManagement {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'Quilt'
url = 'https://maven.quiltmc.org/repository/release'
}
gradlePluginPortal()
}
}
Expand Down

0 comments on commit 300f2c9

Please sign in to comment.