Skip to content

Commit

Permalink
Remove dependence on Fabric Loom
Browse files Browse the repository at this point in the history
  • Loading branch information
Moulberry committed May 15, 2024
1 parent 9a2b057 commit 0b7d05c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 33 deletions.
37 changes: 17 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
id "com.vanniktech.maven.publish" version "0.28.0"
id "java"
}

version = "1.0.0"
group = project.maven_group

base {
archivesName = project.archives_base_name
}
version = "1.0.1"
group = "com.moulberry.mixinconstraints"

repositories {
maven {
url = "https://jitpack.io"
}
maven {
url = "https://maven.fabricmc.net/"
}
maven {
url = "https://repo.spongepowered.org/maven/"
}
mavenCentral()
}

dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings loom.officialMojangMappings()
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// General
compileOnly "org.spongepowered:mixin:0.8"
compileOnly "org.ow2.asm:asm-debug-all:5.2"
compileOnly "io.github.llamalad7:mixinextras-fabric:0.3.5"
implementation 'org.slf4j:slf4j-api:2.0.9'

// Platform-specific
compileOnly "net.fabricmc:fabric-loader:0.14.25"
}

tasks.withType(JavaCompile).configureEach {
Expand All @@ -39,14 +44,6 @@ java {
targetCompatibility = JavaVersion.VERSION_17
}

jar {
manifest {
attributes(
"Fabric-Loom-Remap": "true"
)
}
}

import com.vanniktech.maven.publish.JavaLibrary
import com.vanniktech.maven.publish.JavadocJar
import com.vanniktech.maven.publish.SonatypeHost
Expand Down
13 changes: 0 additions & 13 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.6
yarn_mappings=1.20.6+build.1
loader_version=0.15.11

# Mod Properties
maven_group=com.moulberry.axiomclientapi
archives_base_name=axiomclientapi

# Dependencies
fabric_version=0.98.0+1.20.6

0 comments on commit 0b7d05c

Please sign in to comment.