Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
458 changes: 248 additions & 210 deletions build.gradle

Large diffs are not rendered by default.

84 changes: 47 additions & 37 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,54 +1,64 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs = -Xmx3G
org.gradle.daemon = false

# Mod Information
archives_base_name = Gregification
mc_version = 1.12.2
mod_version = 0.0.1
minecraft_version = 1.12.2
maven_group = gregification
archives_base_name = Gregification

# This will download sources and Javadoc for the dependencies (for example mixins), set which ide you use
# You can look up dependencies and their available sources and Javadoc in intellij by going to File ProjectStructure Libraries
use_intellij_idea = true
use_eclipse = false

# Optional Jar compiling
build_deobfJar = false
build_apiJar = false
build_sourceJar = false

# If any properties change below this line, refresh gradle again to ensure everything is working correctly.

# Coremod Arguments
coremod_plugin_class_name = gregification.core.GregificationLoadingPlugin

# Gradle Plugins
forge_gradle_version = 5.1.+
fancy_gradle_version = 1.1.+
## Hard Dependencies
ccl_pid = 242818
ccl_fid = 2779848
gt_pid = 557242
gt_fid = 4527757
gt_sources_fid = 4527758

# Minecraft-Specific
forge_version = 14.23.5.2860
mcp_mappings_channel = stable
mcp_mappings_version = 39-1.12
## Soft Dependencies
jei_version = 4.16.1.302
crt_version = 4.1.20.684
### TOP 1.4.28
top_pid = 245211
top_fid = 2667280
### CTM 1.0.2.31
ctm_pid = 267602
ctm_fid = 2915363

## Frequently updated dependencies
# GTCEu 2.6.1
gt_id = 557242
gt_version = 4483462
### AE2 0.55.6
ae2_pid = 570458
ae2_fid = 4402048

# GregTech Food Option 1.8.6
gtfo_id = 477021
gtfo_version = 4480325

# CraftTweaker
ct_version = 4.1.20.684

# Mixin Dependencies
mixingradle_version = 0.7-SNAPSHOT
## Mixin Dependencies
mixinbooter_version = 7.0
mixin_annotations_version = 0.8.5
mixin_version = 0.8.3
asm_debug_version = 5.2
### should use 24.1.1 but 30.0+ has a vulnerability fix
guava_version = 30.0
### should use 2.8.6 but 2.8.9+ has a vulnerability fix
gson_version = 2.8.9


## Gradle Dependencies
foojay_version = 0.4.0
idea_ext_version = 1.1.7
rfg_version = 1.3.12
java_version = 8

# Deployment
deployment_debug = false

## Dependencies
curseforge_gradle_version = 1.0.+
minotaur_version = 2.7.+

# Gradle Settings (do not rename values)
org.gradle.welcome = never
org.gradle.welcome = never
org.gradle.logging.stacktrace = all
## Sets default memory used for gradle commands. Can be overridden by user or command line properties.
## This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs = -Xmx3G
org.gradle.daemon = false
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
19 changes: 12 additions & 7 deletions gradlew
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand All @@ -80,13 +80,10 @@ do
esac
done

APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

APP_NAME="Gradle"
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down Expand Up @@ -143,12 +140,16 @@ fi
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down Expand Up @@ -193,6 +194,10 @@ if "$cygwin" || "$msys" ; then
done
fi


# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
Expand Down
1 change: 1 addition & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

Expand Down
31 changes: 20 additions & 11 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
pluginManagement {
repositories {
gradlePluginPortal()
maven {
name 'FancyGradle Maven'
url 'https://gitlab.com/api/v4/projects/26758973/packages/maven'
}
maven {
name 'ForgeGradle Maven'
url 'https://maven.minecraftforge.net'
}
maven {
name 'MixinGradle Maven'
url 'https://repo.spongepowered.org/repository/maven-public'
// RetroFuturaGradle
name 'GTNH Maven'
//noinspection HttpUrlsUsage
url 'http://jenkins.usrv.eu:8081/nexus/content/groups/public/'
allowInsecureProtocol = true
//noinspection GroovyAssignabilityCheck
mavenContent {
includeGroup 'com.gtnewhorizons'
includeGroup 'com.gtnewhorizons.retrofuturagradle'
}
}
gradlePluginPortal()
mavenCentral()
mavenLocal()
}
}

plugins {
// Automatic toolchain provisioning
id 'org.gradle.toolchains.foojay-resolver-convention' version "${foojay_version}"
}

rootProject.name = archives_base_name
2 changes: 1 addition & 1 deletion src/main/java/gregification/Gregification.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class Gregification {

public static final String MODID = "gregification";
public static final String MOD_NAME = "Gregification";
public static final String VERSION = "@VERSION@";
public static final String VERSION = GFInternalTags.VERSION;

// Root logger
public static final Logger logger = LogManager.getLogger("Gregification");
Expand Down