Skip to content

Commit

Permalink
2.0.0 Formal Push
Browse files Browse the repository at this point in the history
  • Loading branch information
chemiofitor committed Nov 11, 2023
1 parent 21bb1d4 commit 5a0dc68
Show file tree
Hide file tree
Showing 40 changed files with 490 additions and 1,230 deletions.
63 changes: 23 additions & 40 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,65 +2,48 @@ plugins {
id 'fabric-loom' version '1.2-SNAPSHOT'
}

version = project.mod_version
group = project.maven_group

loom {
runs {
datagenClient {
inherit client
name "Minecraft Data"
vmArg "-Dfabric-api.datagen"
vmArg "-Dfabric-api.datagen.output-dir=${file("src/main/generated")}"
vmArg "-Dfabric-api.datagen.strict-validation"

runDir "build/datagen"
}
}
}
version = minecraft_version + '-' + mod_version
group = maven_group
archivesBaseName = mod_name

loom {
accessWidenerPath = file("src/main/resources/holib.accesswidener")
}

sourceSets {
main {
resources {
srcDirs += ['src/main/generated']
}
}
}

repositories {
maven {
url = "https://maven.terraformersmc.com/releases/"
}
maven {
url = "https://maven.resourcefulbees.com/repository/maven-public/"
}
maven {
url = "https://api.modrinth.com/maven"
}
maven { url "https://maven.terraformersmc.com/releases/" }
maven { url "https://api.modrinth.com/maven" }
}

dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation "com.terraformersmc:modmenu:${project.modmenu_version}"

include modApi('teamreborn:energy:3.0.0') {
exclude(group: "net.fabricmc.fabric-api")
}
}

processResources {
inputs.property "version", project.version
filteringCharset "UTF-8"

filesMatching("fabric.mod.json") {
expand "version": project.version
}
}

tasks.withType(JavaCompile).configureEach {
it.options.release = 17
}

java {
withSourcesJar()

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

jar {
from("LICENSE") {
rename { "${it}_" + archivesBaseName}
}
}
15 changes: 7 additions & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# Done to increase the memory available to gradle.
org.gradle.jvmargs=-Xmx2G

# Fabric Properties
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
minecraft_version=1.18.2
yarn_mappings=1.18.2+build.4
loader_version=0.14.22

# Mod Properties
mod_version=1.0.3
maven_group=ho.artisan
archives_base_name=HO-Library
mod_version=2.1.0
maven_group=ho.artisan.lib
mod_name=HOLibrary
mod_id=holib

# Dependencies
fabric_version=0.87.0+1.20.1
modmenu_version=7.1.0
fabric_version=0.76.0+1.18.2
11 changes: 0 additions & 11 deletions src/main/java/ho/artisan/holib/HOLibClient.java

This file was deleted.

11 changes: 0 additions & 11 deletions src/main/java/ho/artisan/holib/HOLibDataGen.java

This file was deleted.

43 changes: 0 additions & 43 deletions src/main/java/ho/artisan/holib/HOLibExample.java

This file was deleted.

20 changes: 0 additions & 20 deletions src/main/java/ho/artisan/holib/HOLibMod.java

This file was deleted.

56 changes: 0 additions & 56 deletions src/main/java/ho/artisan/holib/common/block/HBlockWithEntity.java

This file was deleted.

This file was deleted.

Loading

0 comments on commit 5a0dc68

Please sign in to comment.