mirror of
https://github.com/chylex/Hardcore-Ender-Expansion-2.git
synced 2025-09-16 17:24:47 +02:00
Compare commits
5 Commits
cd3875dbba
...
new-gradle
Author | SHA1 | Date | |
---|---|---|---|
f71338502d
|
|||
0240efb00c
|
|||
221c4e3675
|
|||
6a2f878c35
|
|||
ae765d4d8c
|
22
.gitignore
vendored
22
.gitignore
vendored
@@ -1,17 +1,15 @@
|
||||
# gradle
|
||||
# IntelliJ
|
||||
|
||||
/.idea/
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
# Gradle
|
||||
|
||||
.gradle/
|
||||
build/
|
||||
|
||||
# idea
|
||||
/.idea/
|
||||
# Game
|
||||
|
||||
# eclipse
|
||||
/bin/
|
||||
*.launch
|
||||
.settings
|
||||
.metadata
|
||||
.classpath
|
||||
.project
|
||||
|
||||
# game
|
||||
/run/
|
||||
|
@@ -2,11 +2,12 @@ plugins {
|
||||
idea
|
||||
}
|
||||
|
||||
group = "com.chylex.hee"
|
||||
|
||||
idea {
|
||||
module {
|
||||
excludeDirs.add(file("gradle/wrapper"))
|
||||
excludeDirs.add(file("gradle"))
|
||||
excludeDirs.add(file("run"))
|
||||
|
||||
isDownloadSources = true
|
||||
isDownloadJavadoc = true
|
||||
}
|
||||
}
|
||||
|
@@ -1,24 +1,18 @@
|
||||
# Mod
|
||||
modId=hee
|
||||
modName=Hardcore Ender Expansion 2
|
||||
modDescription=
|
||||
modVersion=2.0.0-dev
|
||||
modAuthor=chylex
|
||||
modLicense=TODO
|
||||
modURL=https://hee.chylex.com
|
||||
modAuthorsURL=https://hee.chylex.com/authors
|
||||
modSourcesURL=https://github.com/chylex/Hardcore-Ender-Expansion-2
|
||||
modIssuesURL=https://github.com/chylex/Hardcore-Ender-Expansion-2/issues
|
||||
group=com.chylex.hee
|
||||
version=2.0.0-dev
|
||||
|
||||
# Dependencies
|
||||
minecraftVersion=1.19.3
|
||||
parchmentVersion=2022.12.18
|
||||
forgeVersion=44.1.16
|
||||
javaVersion=21
|
||||
neoForgeVersion=20.6.13-beta
|
||||
kotlinForForgeVersion=5.0.2
|
||||
|
||||
# Constraints
|
||||
minecraftVersionRange=[1.19.3,1.20)
|
||||
forgeVersionRange=[44.1.0,)
|
||||
minecraftVersionRange=[1.20.6,)
|
||||
neoForgeVersionRange=[20.6.13-beta,)
|
||||
kotlinForForgeVersionRange=[5.0.0,)
|
||||
|
||||
# Gradle
|
||||
org.gradle.jvmargs=-Xmx3G
|
||||
org.gradle.daemon=false
|
||||
org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
||||
|
12
gradle/plugins/.gitignore
vendored
12
gradle/plugins/.gitignore
vendored
@@ -1,2 +1,10 @@
|
||||
/.gradle/
|
||||
/build/
|
||||
# IntelliJ
|
||||
|
||||
/.idea/
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
# Gradle
|
||||
|
||||
/gradle/wrapper/gradle-wrapper.jar
|
||||
|
@@ -11,21 +11,20 @@ idea {
|
||||
module {
|
||||
excludeDirs.add(file("gradle"))
|
||||
excludeDirs.add(file("repository"))
|
||||
|
||||
isDownloadSources = true
|
||||
isDownloadJavadoc = true
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven(url = "https://maven.minecraftforge.net")
|
||||
maven(url = "https://maven.parchmentmc.org")
|
||||
maven(url = "https://repo.spongepowered.org/maven")
|
||||
gradlePluginPortal()
|
||||
maven(url = "https://maven.neoforged.net/releases") { name = "NeoForge" }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(group = "net.minecraftforge.gradle", name = "ForgeGradle", version = "5.1.+")
|
||||
implementation(group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version = "1.8.0")
|
||||
implementation(group = "org.parchmentmc.librarian.forgegradle", name = "org.parchmentmc.librarian.forgegradle.gradle.plugin", version = "1.+")
|
||||
implementation(group = "org.spongepowered", name = "mixingradle", version = "0.7-SNAPSHOT")
|
||||
implementation(group = "net.neoforged.gradle", name = "userdev", version = "7.0.120")
|
||||
implementation(group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version = "1.9.22")
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
@@ -1 +1,6 @@
|
||||
org.gradle.daemon=false
|
||||
# Gradle
|
||||
org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
||||
|
||||
# Publishing
|
||||
systemProp.org.gradle.internal.publish.checksums.insecure=true
|
||||
|
@@ -1 +0,0 @@
|
||||
../../wrapper
|
7
gradle/plugins/gradle/wrapper/gradle-wrapper.properties
vendored
Symbolic link
7
gradle/plugins/gradle/wrapper/gradle-wrapper.properties
vendored
Symbolic link
@@ -0,0 +1,7 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
249
gradle/plugins/gradlew
vendored
Normal file
249
gradle/plugins/gradlew
vendored
Normal file
@@ -0,0 +1,249 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Gradle start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||
# noncompliant, but you have some other compliant shell such as ksh or
|
||||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Gradle
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
# * functions;
|
||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||
# * compound commands having a testable exit status, especially «case»;
|
||||
# * various built-in commands including «command», «set», and «ulimit».
|
||||
#
|
||||
# Important for patching:
|
||||
#
|
||||
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||
#
|
||||
# The "traditional" practice of packing multiple parameters into a
|
||||
# space-separated string is a well documented source of bugs and security
|
||||
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||
# options in "$@", and eventually passing that to Java.
|
||||
#
|
||||
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||
# see the in-line comments for details.
|
||||
#
|
||||
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# 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/.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
|
||||
# Resolve links: $0 may be a link
|
||||
app_path=$0
|
||||
|
||||
# Need this for daisy-chained symlinks.
|
||||
while
|
||||
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||
[ -h "$app_path" ]
|
||||
do
|
||||
ls=$( ls -ld "$app_path" )
|
||||
link=${ls#*' -> '}
|
||||
case $link in #(
|
||||
/*) app_path=$link ;; #(
|
||||
*) app_path=$APP_HOME$link ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# This is normally unused
|
||||
# shellcheck disable=SC2034
|
||||
APP_BASE_NAME=${0##*/}
|
||||
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
} >&2
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
} >&2
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "$( uname )" in #(
|
||||
CYGWIN* ) cygwin=true ;; #(
|
||||
Darwin* ) darwin=true ;; #(
|
||||
MSYS* | MINGW* ) msys=true ;; #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||
else
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
if ! command -v java >/dev/null 2>&1
|
||||
then
|
||||
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
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=SC2039,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=SC2039,SC3045
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command, stacking in reverse order:
|
||||
# * args from the command line
|
||||
# * the main class name
|
||||
# * -classpath
|
||||
# * -D...appname settings
|
||||
# * --module-path (only if needed)
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||
|
||||
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
for arg do
|
||||
if
|
||||
case $arg in #(
|
||||
-*) false ;; # don't mess with options #(
|
||||
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||
[ -e "$t" ] ;; #(
|
||||
*) false ;;
|
||||
esac
|
||||
then
|
||||
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||
fi
|
||||
# Roll the args list around exactly as many times as the number of
|
||||
# args, so each arg winds up back in the position where it started, but
|
||||
# possibly modified.
|
||||
#
|
||||
# NB: a `for` loop captures its iteration list before it begins, so
|
||||
# changing the positional parameters here affects neither the number of
|
||||
# iterations, nor the values presented in `arg`.
|
||||
shift # remove old arg
|
||||
set -- "$@" "$arg" # push replacement arg
|
||||
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, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||
# and any embedded shellness will be escaped.
|
||||
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||
# treated as '${Hostname}' itself on the command line.
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-classpath "$CLASSPATH" \
|
||||
org.gradle.wrapper.GradleWrapperMain \
|
||||
"$@"
|
||||
|
||||
# Stop when "xargs" is not available.
|
||||
if ! command -v xargs >/dev/null 2>&1
|
||||
then
|
||||
die "xargs is not available"
|
||||
fi
|
||||
|
||||
# Use "xargs" to parse quoted args.
|
||||
#
|
||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||
#
|
||||
# In Bash we could simply go:
|
||||
#
|
||||
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||
# set -- "${ARGS[@]}" "$@"
|
||||
#
|
||||
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||
# character that might be a shell metacharacter, then use eval to reverse
|
||||
# that process (while maintaining the separation between arguments), and wrap
|
||||
# the whole thing up as a single "set" statement.
|
||||
#
|
||||
# This will of course break if any of these variables contains a newline or
|
||||
# an unmatched quote.
|
||||
#
|
||||
|
||||
eval "set -- $(
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||
xargs -n1 |
|
||||
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||
tr '\n' ' '
|
||||
)" '"$@"'
|
||||
|
||||
exec "$JAVACMD" "$@"
|
92
gradle/plugins/gradlew.bat
vendored
Normal file
92
gradle/plugins/gradlew.bat
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
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%
|
||||
|
||||
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if %ERRORLEVEL% equ 0 goto execute
|
||||
|
||||
echo. 1>&2
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
||||
echo. 1>&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||
echo location of your Java installation. 1>&2
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo. 1>&2
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
||||
echo. 1>&2
|
||||
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
||||
echo location of your Java installation. 1>&2
|
||||
|
||||
goto fail
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
Binary file not shown.
@@ -0,0 +1 @@
|
||||
8c53620c5692edaa922df99e88aa7451
|
@@ -0,0 +1 @@
|
||||
bd66e0beeaa9a4e476515c12572e29e3d561b7b2
|
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"formatVersion": "1.1",
|
||||
"component": {
|
||||
"group": "com.chylex.hee.gradle",
|
||||
"module": "hee-gradle-plugins",
|
||||
"version": "1",
|
||||
"attributes": {
|
||||
"org.gradle.status": "release"
|
||||
}
|
||||
},
|
||||
"createdBy": {
|
||||
"gradle": {
|
||||
"version": "8.7"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "apiElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.jvm.environment": "standard-jvm",
|
||||
"org.gradle.jvm.version": 21,
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-api",
|
||||
"org.jetbrains.kotlin.platform.type": "jvm"
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"name": "hee-gradle-plugins-1.jar",
|
||||
"url": "hee-gradle-plugins-1.jar",
|
||||
"size": 733108,
|
||||
"sha512": "8c1ba78307aa2c515f26f83f9266500bd68ca6333c7cff829c2a76796424269d8863cfd702d399c795adfdae94b7bcdf72f07b8c6bd8152bf060c78a43283407",
|
||||
"sha256": "171ba9a326baa942164ec9c6399a50c27b71edce473f08cfa2add54ce467c2ec",
|
||||
"sha1": "bd66e0beeaa9a4e476515c12572e29e3d561b7b2",
|
||||
"md5": "8c53620c5692edaa922df99e88aa7451"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtimeElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.jvm.environment": "standard-jvm",
|
||||
"org.gradle.jvm.version": 21,
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-runtime",
|
||||
"org.jetbrains.kotlin.platform.type": "jvm"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "net.neoforged.gradle",
|
||||
"module": "userdev",
|
||||
"version": {
|
||||
"requires": "7.0.120"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "org.jetbrains.kotlin",
|
||||
"module": "kotlin-gradle-plugin",
|
||||
"version": {
|
||||
"requires": "1.9.22"
|
||||
}
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "hee-gradle-plugins-1.jar",
|
||||
"url": "hee-gradle-plugins-1.jar",
|
||||
"size": 733108,
|
||||
"sha512": "8c1ba78307aa2c515f26f83f9266500bd68ca6333c7cff829c2a76796424269d8863cfd702d399c795adfdae94b7bcdf72f07b8c6bd8152bf060c78a43283407",
|
||||
"sha256": "171ba9a326baa942164ec9c6399a50c27b71edce473f08cfa2add54ce467c2ec",
|
||||
"sha1": "bd66e0beeaa9a4e476515c12572e29e3d561b7b2",
|
||||
"md5": "8c53620c5692edaa922df99e88aa7451"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1 @@
|
||||
bfc6d663eb698b5e372348b870c7b951
|
@@ -0,0 +1 @@
|
||||
adcd08fa9b6d9aa94d2a69258a89bdab23c7ace4
|
@@ -7,31 +7,19 @@
|
||||
<!-- do_not_remove: published-with-gradle-metadata -->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.chylex.hee.gradle</groupId>
|
||||
<artifactId>plugins</artifactId>
|
||||
<artifactId>hee-gradle-plugins</artifactId>
|
||||
<version>1</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>net.minecraftforge.gradle</groupId>
|
||||
<artifactId>ForgeGradle</artifactId>
|
||||
<version>5.1.+</version>
|
||||
<groupId>net.neoforged.gradle</groupId>
|
||||
<artifactId>userdev</artifactId>
|
||||
<version>7.0.120</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-gradle-plugin</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.parchmentmc.librarian.forgegradle</groupId>
|
||||
<artifactId>org.parchmentmc.librarian.forgegradle.gradle.plugin</artifactId>
|
||||
<version>1.+</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.spongepowered</groupId>
|
||||
<artifactId>mixingradle</artifactId>
|
||||
<version>0.7-SNAPSHOT</version>
|
||||
<version>1.9.22</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
@@ -0,0 +1 @@
|
||||
91b6a4aa191ec0c4dce4abefeb00f72e
|
@@ -0,0 +1 @@
|
||||
1e6a80349a017a5a53816cf61cf5fc7fc5ba4fc1
|
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>com.chylex.hee.gradle</groupId>
|
||||
<artifactId>plugins</artifactId>
|
||||
<artifactId>hee-gradle-plugins</artifactId>
|
||||
<versioning>
|
||||
<latest>1</latest>
|
||||
<release>1</release>
|
||||
<versions>
|
||||
<version>1</version>
|
||||
</versions>
|
||||
<lastUpdated>20230219104731</lastUpdated>
|
||||
<lastUpdated>20240511075855</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
@@ -0,0 +1 @@
|
||||
ab01f51b197eabf9037f94777a6ae9d9
|
@@ -0,0 +1 @@
|
||||
7a4d2163a1d3f6a015b51bc76bd29d214595dea7
|
Binary file not shown.
@@ -1 +0,0 @@
|
||||
327ad8bacd3493a78c16498cab177afd
|
@@ -1 +0,0 @@
|
||||
25b98e7445eeea1915e4f1350fb98d41b2711111
|
@@ -1 +0,0 @@
|
||||
34f79fc527b7a225266633b1e95cf9fd40b9c0ae90361a95db4b5b3b2f705c5e
|
@@ -1 +0,0 @@
|
||||
c6c42e334870729a42c8ae00ba1bc586a20de775e5cb8dfa3b4e85d8c2b1f7c5d41046e8aeae1a62edd505f619fe391744e20dd89528088c695f414706550e39
|
@@ -1,94 +0,0 @@
|
||||
{
|
||||
"formatVersion": "1.1",
|
||||
"component": {
|
||||
"group": "com.chylex.hee.gradle",
|
||||
"module": "plugins",
|
||||
"version": "1",
|
||||
"attributes": {
|
||||
"org.gradle.status": "release"
|
||||
}
|
||||
},
|
||||
"createdBy": {
|
||||
"gradle": {
|
||||
"version": "7.5.1"
|
||||
}
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "apiElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.jvm.environment": "standard-jvm",
|
||||
"org.gradle.jvm.version": 17,
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-api",
|
||||
"org.jetbrains.kotlin.platform.type": "jvm"
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"name": "plugins-1.jar",
|
||||
"url": "plugins-1.jar",
|
||||
"size": 853930,
|
||||
"sha512": "c6c42e334870729a42c8ae00ba1bc586a20de775e5cb8dfa3b4e85d8c2b1f7c5d41046e8aeae1a62edd505f619fe391744e20dd89528088c695f414706550e39",
|
||||
"sha256": "34f79fc527b7a225266633b1e95cf9fd40b9c0ae90361a95db4b5b3b2f705c5e",
|
||||
"sha1": "25b98e7445eeea1915e4f1350fb98d41b2711111",
|
||||
"md5": "327ad8bacd3493a78c16498cab177afd"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtimeElements",
|
||||
"attributes": {
|
||||
"org.gradle.category": "library",
|
||||
"org.gradle.dependency.bundling": "external",
|
||||
"org.gradle.jvm.environment": "standard-jvm",
|
||||
"org.gradle.jvm.version": 17,
|
||||
"org.gradle.libraryelements": "jar",
|
||||
"org.gradle.usage": "java-runtime",
|
||||
"org.jetbrains.kotlin.platform.type": "jvm"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
"group": "net.minecraftforge.gradle",
|
||||
"module": "ForgeGradle",
|
||||
"version": {
|
||||
"requires": "5.1.+"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "org.jetbrains.kotlin",
|
||||
"module": "kotlin-gradle-plugin",
|
||||
"version": {
|
||||
"requires": "1.8.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "org.parchmentmc.librarian.forgegradle",
|
||||
"module": "org.parchmentmc.librarian.forgegradle.gradle.plugin",
|
||||
"version": {
|
||||
"requires": "1.+"
|
||||
}
|
||||
},
|
||||
{
|
||||
"group": "org.spongepowered",
|
||||
"module": "mixingradle",
|
||||
"version": {
|
||||
"requires": "0.7-SNAPSHOT"
|
||||
}
|
||||
}
|
||||
],
|
||||
"files": [
|
||||
{
|
||||
"name": "plugins-1.jar",
|
||||
"url": "plugins-1.jar",
|
||||
"size": 853930,
|
||||
"sha512": "c6c42e334870729a42c8ae00ba1bc586a20de775e5cb8dfa3b4e85d8c2b1f7c5d41046e8aeae1a62edd505f619fe391744e20dd89528088c695f414706550e39",
|
||||
"sha256": "34f79fc527b7a225266633b1e95cf9fd40b9c0ae90361a95db4b5b3b2f705c5e",
|
||||
"sha1": "25b98e7445eeea1915e4f1350fb98d41b2711111",
|
||||
"md5": "327ad8bacd3493a78c16498cab177afd"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@@ -1 +0,0 @@
|
||||
d1b393ef437f35e9a27691366a95e39e
|
@@ -1 +0,0 @@
|
||||
d5114a4b883290dfdf4321be8df4f60f83a18e21
|
@@ -1 +0,0 @@
|
||||
1ddf9b3b4cacc4eed876cab4d4766d93e8ce6833620d0bc4b96dc21caa44e172
|
@@ -1 +0,0 @@
|
||||
4d69cfc4d425c1c729fceab056d2607ac8e88f109db8725448a313a6fda01b245533638006cd0ea99025c8ca7f0350dcc596108d7512c055906c274e1dd35814
|
@@ -1 +0,0 @@
|
||||
a2830a30f38843cd60e6707532e76156
|
@@ -1 +0,0 @@
|
||||
21310571fe96a291d92ccf3cc5b41045c012043c
|
@@ -1 +0,0 @@
|
||||
cb4f23b2e04592b37a278639894e3e3c72603b778ae5856cab36637b444e775e
|
@@ -1 +0,0 @@
|
||||
e91efadc717db22f35b383d6b1439fff43932b4139a67239889e86bb142ecc35b01bb505cc254fc982e1a693916117a6e6faf12a689060e917d45f20c6fc23a5
|
@@ -1 +0,0 @@
|
||||
532cef5f8ebe61c698d6ebd2d55ccb11
|
@@ -1 +0,0 @@
|
||||
66a5fe2b962b9bbe284999386fc6bb91e26e83c1
|
@@ -1 +0,0 @@
|
||||
2fe25a6a6810823290633311f64831e3a8c4661d2a6688381b03fbba94c6e04b
|
@@ -1 +0,0 @@
|
||||
8be0060fbd77658fd69abca1c97cd682bd683f024cfe16d9790c6cb95dc179e5c024f412c181ae4b29cf15843b953d5aafafcb05df6564fdfe99be7e496bd538
|
@@ -1 +0,0 @@
|
||||
8f005d28c8899738a612cf5e58ab763b
|
@@ -1 +0,0 @@
|
||||
72bc41ff758a20023ea33ecb4895a5703d20f769
|
@@ -1 +0,0 @@
|
||||
c87d9c1f155e8d57634be0308af049c602becd2e9ce3be9a32000eb534d2d150
|
@@ -1 +0,0 @@
|
||||
91c2b331568b37c9c19a2935a0066d6b3c9cfb7c32a59d93a379b65708158303b1768bbf31b74f1bc96cf542019a6cbba2d3a340055d26338ff0b025a93ba2fc
|
@@ -1 +0,0 @@
|
||||
86d80c0b115a35e03cae0e9dab0be75b
|
@@ -1 +0,0 @@
|
||||
16499be6397dd63dc7e81142f3cda1f8109ca9f0
|
@@ -1 +0,0 @@
|
||||
635115d09568353c8b7c6091e1ee7c05fa33da71d12cea6a91d373943df613d4
|
@@ -1 +0,0 @@
|
||||
68d68d2f96b91e8fef0eaec55e3e260f0d8c4418610fd96fd41669b9eb84144bb2c86aae0fe320b4ca943a74d64b4144bd5214c76a06bc8d2e481cd0685b304d
|
@@ -8,7 +8,7 @@
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.chylex.hee.gradle</groupId>
|
||||
<artifactId>plugins</artifactId>
|
||||
<artifactId>hee-gradle-plugins</artifactId>
|
||||
<version>1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@@ -1 +1 @@
|
||||
ac1b7ed6a176da9587ae6f621f7e24bf
|
||||
f196bd1a3bc41dee8da6f62de657232d
|
@@ -1 +1 @@
|
||||
11fec6852ff9a0f76628c1b4ff1ffe4c75c914fa
|
||||
28057427bd53cdd856eaf9ee66a132d9a1125be1
|
@@ -1 +0,0 @@
|
||||
fe771766068f84f95b47a44c641271a52a088a7a4130a2d8024004e8912a0554
|
@@ -1 +0,0 @@
|
||||
051560621558bd04e007a6a67f2e53f718375014720602bb675ccafc598f38fc81966d779191cc5cd5335d8d16a303d09dab65c18d1d6fdf39ad186ec073c9ee
|
@@ -8,6 +8,6 @@
|
||||
<versions>
|
||||
<version>1</version>
|
||||
</versions>
|
||||
<lastUpdated>20230219104724</lastUpdated>
|
||||
<lastUpdated>20240511075854</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
||||
|
@@ -1 +1 @@
|
||||
ddc2a83e0d723f35a9d198463f75afe9
|
||||
603d48970b1cad2e907a1b070f20247a
|
@@ -1 +1 @@
|
||||
800fb25b482d0d7deafb3b3d4ba8a2107d685023
|
||||
22b4ca491774244c91f60f429b8c4dfd6a6bda42
|
@@ -1 +0,0 @@
|
||||
adb92ad13ec8cf614832e81259cbbf275f8cefc6ca85efb0e0b19f72508b6b8b
|
@@ -1 +0,0 @@
|
||||
b53d2d545bedaf6ac0b26d2d66a5dd1f69dc02280468078b0f3ae60ddb57b824a902e9cb97da903ccc175c4d04a13dfa52a227277deb07a6176ecd6b3355f022
|
@@ -8,7 +8,7 @@
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.chylex.hee.gradle</groupId>
|
||||
<artifactId>plugins</artifactId>
|
||||
<artifactId>hee-gradle-plugins</artifactId>
|
||||
<version>1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@@ -1 +1 @@
|
||||
98e1ec575082911834164fdacc463b55
|
||||
8c4f03e97711738d21870d5a9918bc7e
|
@@ -1 +1 @@
|
||||
bb72ef43ab5bbe88d0512362f170fc0ae45304ac
|
||||
32e486aa78a2b3428b3f1151dbc7fbf674d4b009
|
@@ -1 +0,0 @@
|
||||
667ba69ba9834612da77498c9d321a626375640aa25a006defb4cac680f9c916
|
@@ -1 +0,0 @@
|
||||
04ed0c0b11e8436f73ff45e73a08e6181c1dfe9b30b6943e0105d25cdded9ef8e28a22b84565afb139d111671072ba4c1acc04e79d4efed2d5195cab984a5e37
|
@@ -8,6 +8,6 @@
|
||||
<versions>
|
||||
<version>1</version>
|
||||
</versions>
|
||||
<lastUpdated>20230219104724</lastUpdated>
|
||||
<lastUpdated>20240511075854</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
||||
|
@@ -1 +1 @@
|
||||
2a6791fc10d18700c4d2d90ee42bb10d
|
||||
6f57bf2093a89c9c5035915b9fc8dabc
|
@@ -1 +1 @@
|
||||
9eba40923a5db98ff8d3664dc0e5fbb70a0f1f35
|
||||
86d0ca44e770726163d46cbb481dd035d6a86f01
|
@@ -1 +0,0 @@
|
||||
9200a3c10b73033039a76de670c88977c3f5bd2a57bb55b446b76f1ec0f9032f
|
@@ -1 +0,0 @@
|
||||
357416a672d0256c6162304e1453d5776683f5d934d02a77c6714ffe040d70f4bf3566364c07a8651146a3d4b8f6762dd43fc14301567e601b6c0f2ac40e239e
|
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>hee.forge</groupId>
|
||||
<artifactId>hee.forge.gradle.plugin</artifactId>
|
||||
<groupId>hee.library</groupId>
|
||||
<artifactId>hee.library.gradle.plugin</artifactId>
|
||||
<version>1</version>
|
||||
<packaging>pom</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.chylex.hee.gradle</groupId>
|
||||
<artifactId>plugins</artifactId>
|
||||
<artifactId>hee-gradle-plugins</artifactId>
|
||||
<version>1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
@@ -0,0 +1 @@
|
||||
03c0e6be358b44308048f2cf90e69e02
|
@@ -0,0 +1 @@
|
||||
88fbfa80926a52378fa2f3e98d1ebbbb4e444a90
|
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>hee.forge</groupId>
|
||||
<artifactId>hee.forge.gradle.plugin</artifactId>
|
||||
<groupId>hee.library</groupId>
|
||||
<artifactId>hee.library.gradle.plugin</artifactId>
|
||||
<versioning>
|
||||
<latest>1</latest>
|
||||
<release>1</release>
|
||||
<versions>
|
||||
<version>1</version>
|
||||
</versions>
|
||||
<lastUpdated>20230219104724</lastUpdated>
|
||||
<lastUpdated>20240511075854</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
@@ -0,0 +1 @@
|
||||
a69c3149cf17aa90ac5624e667a6c137
|
@@ -0,0 +1 @@
|
||||
a011445613d78360085a8987a5e5cbf40659e77a
|
@@ -8,7 +8,7 @@
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.chylex.hee.gradle</groupId>
|
||||
<artifactId>plugins</artifactId>
|
||||
<artifactId>hee-gradle-plugins</artifactId>
|
||||
<version>1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@@ -1 +1 @@
|
||||
ffe775f0b29a8ca11d52de40fb60703c
|
||||
e600fee6a3545c69c77dc076b28eb823
|
@@ -1 +1 @@
|
||||
f5a290f8d21d893403809403f816bd759edb0ae5
|
||||
7e65b2d10962b59d1ddc7cfcf54b6db6c21c384b
|
@@ -1 +0,0 @@
|
||||
d8fc7322ccf9830a7d27c7e757ebb4a2fac0e9192f4afcc848c7824c1cd3c47d
|
@@ -1 +0,0 @@
|
||||
92d3d35dd0f86697d5b4761b6f6a82dbad7e7c7dd2b0508886cbb791784e5ce21eed12cd728b231778b0a94999dec442ee4ccc07d7d4c41695f2f42564a31474
|
@@ -8,6 +8,6 @@
|
||||
<versions>
|
||||
<version>1</version>
|
||||
</versions>
|
||||
<lastUpdated>20230219104724</lastUpdated>
|
||||
<lastUpdated>20240511075854</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
||||
|
@@ -1 +1 @@
|
||||
2e495e0fbf39de9f25fc5b1d1a47553b
|
||||
0c7b43bd121d8eff6d3ca077903238a4
|
@@ -1 +1 @@
|
||||
2fc69e2b7ab6a2a76dd241cf421ffca95d4777f6
|
||||
bb3dbbbaf4629a499f56623e9e38d41fe7a79408
|
@@ -1 +0,0 @@
|
||||
937e32cb00f57a532dbb69008764a1f4b67be899889b842753261fccb6930b93
|
@@ -1 +0,0 @@
|
||||
b4b0e08884c65caa43daac900bd30a0792257d161e9ce37da606f874f8ff5427dc8b4b1d8bdd5c49e4629693ed996ce520fbf1b471ecbe34985e6d48a3aa87b4
|
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>hee.vanilla</groupId>
|
||||
<artifactId>hee.vanilla.gradle.plugin</artifactId>
|
||||
<version>1</version>
|
||||
<packaging>pom</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.chylex.hee.gradle</groupId>
|
||||
<artifactId>plugins</artifactId>
|
||||
<version>1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
@@ -1 +0,0 @@
|
||||
4a04806ae7945156f7f0946751946fa6
|
@@ -1 +0,0 @@
|
||||
d7c3731fd415e6c27f77085956a316c1ceb847b5
|
@@ -1 +0,0 @@
|
||||
24b56698554741bc8c8b803dcf332e48598210fda02bf5c1c3324a52765f5aa1
|
@@ -1 +0,0 @@
|
||||
02ae32e3dba0656a26c6d0fc57e45d0ae6b962dadc286e1e08467c06d033ddb046451d23beef2a4b0b0688793a7b6b6ca7b3d5adfa126a1f0d89dd39cb1749af
|
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<groupId>hee.vanilla</groupId>
|
||||
<artifactId>hee.vanilla.gradle.plugin</artifactId>
|
||||
<versioning>
|
||||
<latest>1</latest>
|
||||
<release>1</release>
|
||||
<versions>
|
||||
<version>1</version>
|
||||
</versions>
|
||||
<lastUpdated>20230219104724</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
@@ -1 +0,0 @@
|
||||
f87c739f02b985a416901ab71df1c4cf
|
@@ -1 +0,0 @@
|
||||
b9f382aaec83f4269186a18019505ea3f76030cb
|
@@ -1 +0,0 @@
|
||||
662dc1f366b013f8a79e49f3e960d010aef8d92453b1df43407422af10741b39
|
@@ -1 +0,0 @@
|
||||
d507c225b69d9c6e69d3a2e1021fee92a51999a893a7af01ad210db55c3493d8afc047e194dddaab776626a9c48cbaa1202b4ced063e41213ed9abb18b9b6517
|
@@ -1 +1 @@
|
||||
rootProject.name = "plugins"
|
||||
rootProject.name = "hee-gradle-plugins"
|
||||
|
@@ -1,10 +0,0 @@
|
||||
plugins {
|
||||
id("hee.minecraft")
|
||||
}
|
||||
|
||||
val minecraftVersion: String by project
|
||||
val forgeVersion: String by project
|
||||
|
||||
dependencies {
|
||||
minecraft("net.minecraftforge:forge:${minecraftVersion}-${forgeVersion}")
|
||||
}
|
@@ -1,10 +1,19 @@
|
||||
val javaVersion: String by project
|
||||
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
configureEach {
|
||||
java.setSrcDirs(listOf(file("./$name/java")))
|
||||
resources.setSrcDirs(listOf(file("./$name/resources")))
|
||||
}
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
languageVersion.set(JavaLanguageVersion.of(javaVersion))
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,18 +1,24 @@
|
||||
val kotlinForForgeVersion: String by project
|
||||
|
||||
plugins {
|
||||
id("hee.java")
|
||||
kotlin("jvm")
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
configureEach {
|
||||
java.setSrcDirs(emptyList<File>())
|
||||
kotlin.setSrcDirs(listOf(file("./$name/kotlin")))
|
||||
}
|
||||
|
||||
test {
|
||||
java.setSrcDirs(emptyList<File>())
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven(url = "https://thedarkcolour.github.io/KotlinForForge") {
|
||||
name = "KotlinForForge"
|
||||
content { includeGroup("thedarkcolour") }
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(kotlin("stdlib"))
|
||||
implementation("thedarkcolour:kotlinforforge-neoforge:${kotlinForForgeVersion}")
|
||||
}
|
||||
|
27
gradle/plugins/src/main/kotlin/hee.library.gradle.kts
Normal file
27
gradle/plugins/src/main/kotlin/hee.library.gradle.kts
Normal file
@@ -0,0 +1,27 @@
|
||||
plugins {
|
||||
id("hee.java")
|
||||
}
|
||||
|
||||
val generateManifest = tasks.register("generateManifest") {
|
||||
val outputDir = layout.buildDirectory.dir("generateManifest")
|
||||
outputs.dir(outputDir).withPropertyName("outputDir")
|
||||
|
||||
doLast {
|
||||
val outputDirFile = outputDir.get().asFile
|
||||
|
||||
outputDirFile.mkdir()
|
||||
outputDirFile.resolve("MANIFEST.MF").writeText(
|
||||
"""
|
||||
Automatic-Module-Name: com.chylex.hee.${project.name}
|
||||
FMLModType: GAMELIBRARY
|
||||
|
||||
""".trimIndent()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
from(generateManifest) {
|
||||
into("META-INF")
|
||||
}
|
||||
}
|
@@ -1,43 +1,12 @@
|
||||
val neoForgeVersion: String by project
|
||||
|
||||
plugins {
|
||||
idea
|
||||
id("hee.kotlin")
|
||||
id("net.minecraftforge.gradle")
|
||||
id("org.parchmentmc.librarian.forgegradle")
|
||||
id("org.spongepowered.mixin")
|
||||
id("hee.java")
|
||||
id("net.neoforged.gradle.userdev")
|
||||
}
|
||||
|
||||
idea {
|
||||
module {
|
||||
excludeDirs.add(file("src/main/java"))
|
||||
excludeDirs.add(file("src/test/java"))
|
||||
}
|
||||
dependencies {
|
||||
implementation("net.neoforged:neoforge:$neoForgeVersion")
|
||||
}
|
||||
|
||||
val minecraftVersion: String by project
|
||||
val parchmentVersion: String by project
|
||||
|
||||
minecraft {
|
||||
mappings("parchment", "${parchmentVersion}-${minecraftVersion}")
|
||||
}
|
||||
|
||||
val modId: String by project
|
||||
val modName: String by project
|
||||
val modDescription: String by project
|
||||
val modVersion: String by project
|
||||
val modLicense: String by project
|
||||
val modURL: String by project
|
||||
val modAuthorsURL: String by project
|
||||
val modSourcesURL: String by project
|
||||
val modIssuesURL: String by project
|
||||
|
||||
tasks.processResources {
|
||||
inputs.property("id", modId)
|
||||
inputs.property("name", modName)
|
||||
inputs.property("description", modDescription)
|
||||
inputs.property("version", modVersion)
|
||||
inputs.property("license", modLicense)
|
||||
inputs.property("modURL", modURL)
|
||||
inputs.property("authorsURL", modAuthorsURL)
|
||||
inputs.property("sourcesURL", modSourcesURL)
|
||||
inputs.property("issuesURL", modIssuesURL)
|
||||
}
|
||||
runs.clear()
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user