some improvements
This commit is contained in:
parent
ce1fdf10c8
commit
77c1d034d0
3 changed files with 12 additions and 8 deletions
12
build.gradle
12
build.gradle
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id 'fabric-loom' version "1.0-SNAPSHOT" // To use chocoloom, change the version to a commit hash
|
||||
id 'fabric-loom' version "1.0-SNAPSHOT"
|
||||
id 'legacy-looming' version "1.0-SNAPSHOT" // Version must be the same as fabric-loom's
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
|
@ -11,10 +12,6 @@ version = project.mod_version
|
|||
group = project.maven_group
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = "legacy-fabric"
|
||||
url = "https://repo.legacyfabric.net/repository/legacyfabric/"
|
||||
}
|
||||
// Fixed LWJGL on Linux
|
||||
maven {
|
||||
name = 'Babric'
|
||||
|
@ -46,10 +43,13 @@ dependencies {
|
|||
|
||||
// Fabric API provides hooks for events, item registration, and more. As most mods will need this, it's included by default.
|
||||
// If you know for a fact you don't, it's not required and can be safely removed.
|
||||
modImplementation ("net.legacyfabric.legacy-fabric-api:legacy-fabric-api:${fabric_version}") {
|
||||
modImplementation ("net.legacyfabric.legacy-fabric-api:legacy-fabric-api:${project.fabric_version}") {
|
||||
exclude module: "legacy-fabric-entity-events-v1"
|
||||
}
|
||||
|
||||
// You can retrieve a specific api module using this notation.
|
||||
// modImplementation(legacyFabricApi.module("legacy-fabric-item-groups-v1", project.fabric_version))
|
||||
|
||||
if (lwjgl2) {
|
||||
if (currentOs.contains("mac")) {
|
||||
implementation 'org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209'
|
||||
|
|
|
@ -5,8 +5,8 @@ org.gradle.jvmargs=-Xmx1G
|
|||
# More versions available at: https://grayray75.github.io/LegacyFabric-Versions/
|
||||
# Fabric Properties
|
||||
minecraft_version = 1.8.9
|
||||
yarn_mappings = 1.8.9+build.442
|
||||
loader_version = 0.14.7
|
||||
yarn_mappings = 1.8.9+build.451
|
||||
loader_version = 0.14.12
|
||||
|
||||
# Legacy Fabric API
|
||||
# Also available for mc 1.7.10, 1.8, 1.9.4, 1.10.2, 1.11.2 and 1.12.2
|
||||
|
|
|
@ -4,6 +4,10 @@ pluginManagement {
|
|||
name = 'Fabric'
|
||||
url = 'https://maven.fabricmc.net/'
|
||||
}
|
||||
maven {
|
||||
name = "legacy-fabric"
|
||||
url = "https://repo.legacyfabric.net/repository/legacyfabric/"
|
||||
}
|
||||
gradlePluginPortal()
|
||||
maven {
|
||||
name = 'Jitpack'
|
||||
|
|
Loading…
Reference in a new issue