Skip to content

Commit

Permalink
1.0.6: Fix Crash
Browse files Browse the repository at this point in the history
Fixes #2 & more
  • Loading branch information
IntegerLimit committed Jul 24, 2023
1 parent e326fbb commit f684558
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 160 deletions.
5 changes: 5 additions & 0 deletions addon.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
processResources {
from(sourceSets.main.java.srcDirs) {
include '**/builtin.sdmods'
}
}
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//version: 1689212657
//version: 1689976122
/*
* DO NOT CHANGE THIS FILE!
* Also, you may replace this file at any time if there is an update available.
Expand All @@ -23,7 +23,7 @@ plugins {
id 'eclipse'
id 'maven-publish'
id 'org.jetbrains.gradle.plugin.idea-ext' version '1.1.7'
id 'com.gtnewhorizons.retrofuturagradle' version '1.3.20'
id 'com.gtnewhorizons.retrofuturagradle' version '1.3.21'
id 'net.darkhax.curseforgegradle' version '1.0.14' apply false
id 'com.modrinth.minotaur' version '2.8.0' apply false
id 'com.diffplug.spotless' version '6.13.0' apply false
Expand Down Expand Up @@ -66,6 +66,7 @@ propertyDefaultIfUnset("includeWellKnownRepositories", true)
propertyDefaultIfUnset("includeCommonDevEnvMods", true)
propertyDefaultIfUnset("noPublishedSources", false)
propertyDefaultIfUnset("forceEnableMixins", false)
propertyDefaultIfUnset("generateMixinConfig", true)
propertyDefaultIfUnset("usesShadowedDependencies", false)
propertyDefaultIfUnset("minimizeShadowedDependencies", true)
propertyDefaultIfUnset("relocateShadowedDependencies", true)
Expand Down Expand Up @@ -561,7 +562,7 @@ tasks.register('generateAssets') {
}

// mixins.{modid}.json
if (usesMixins.toBoolean()) {
if (usesMixins.toBoolean() && generateMixinConfig.toBoolean()) {
def mixinConfigFile = getFile("src/main/resources/mixins.${modId}.json")
if (!mixinConfigFile.exists()) {
def mixinConfigRefmap = "mixins.${modId}.refmap.json"
Expand Down Expand Up @@ -961,7 +962,7 @@ def getChangelog() {

// Buildscript updating

def buildscriptGradleVersion = '8.1.1'
def buildscriptGradleVersion = '8.2.1'

tasks.named('wrapper', Wrapper).configure {
gradleVersion = buildscriptGradleVersion
Expand Down
132 changes: 0 additions & 132 deletions build.gradle.old

This file was deleted.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ modGroup = com.nomiceu.gregtechdrawers

# Version of your mod.
# This field can be left empty if you want your mod's version to be determined by the latest git tag instead.
modVersion = 1.0.5
modVersion = 1.0.6

# Whether to use the old jar naming structure (modid-mcversion-version) instead of the new version (modid-version)
includeMCVersionJar = true
Expand Down
22 changes: 0 additions & 22 deletions gradle.properties.old

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/java/com/nomiceu/gregtechdrawers/GTDrawers.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class GTDrawers {
@Instance(GTDrawers.MODID)
public static GTDrawers instance;

@SidedProxy(clientSide = "io.github.nomiceu.proxy.ClientProxy", serverSide = "io.github.nomiceu.proxy.CommonProxy")
@SidedProxy(clientSide = "com.nomiceu.gregtechdrawers.proxy.ClientProxy", serverSide = "com.nomiceu.gregtechdrawers.proxy.CommonProxy")
public static CommonProxy proxy;

public static Logger logger;
Expand Down

0 comments on commit f684558

Please sign in to comment.