mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
dev stuff
This commit is contained in:
1 parent
9baf4682c5
commit
e384b6e6b3
10 files changed
+126
-135
No files matched your search
@@ -0,0 +1 @@
|
||||
#Mon Aug 03 04:29:18 CEST 2020
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+33
-43
@@ -1,71 +1,61 @@
|
||||
#################################################
|
||||
ForgeGradle 1.2-SNAPSHOT-fb514d3
|
||||
https://github.com/MinecraftForge/ForgeGradle
|
||||
#################################################
|
||||
Powered by MCP unknown
|
||||
http://modcoderpack.com
|
||||
by: Searge, ProfMobius, Fesh0r,
|
||||
R4wk, ZeuX, IngisKahn, bspkrs
|
||||
#################################################
|
||||
:MDKZip
|
||||
:extractMcpData
|
||||
:downloadClient SKIPPED
|
||||
:downloadServer SKIPPED
|
||||
:getVersionJson
|
||||
:extractUserDev
|
||||
:mergeJars SKIPPED
|
||||
:applyBinPatches SKIPPED
|
||||
:downloadMcpTools SKIPPED
|
||||
:extractMcpData
|
||||
:genSrgs SKIPPED
|
||||
:compileApiJava警告: [options] 未与 -source 1.7 一起设置引导类路径
|
||||
注: C:\Users\Xmsoft\IdeaProjects\Mekanism\src\api\java\dan200\computercraft\api\ComputerCraftAPI.java使用了未经检查或不安全的操作。
|
||||
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
|
||||
1 个警告
|
||||
:deobfBinJar SKIPPED
|
||||
:compileApiJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
|
||||
Note: C:\Users\magna\OneDrive\Documents\GitHub\Mekanism\src\api\java\dan200\computercraft\api\ComputerCraftAPI.java uses unchecked or unsafe operations.
|
||||
Note: Recompile with -Xlint:unchecked for details.
|
||||
1 warning
|
||||
|
||||
:processApiResources UP-TO-DATE
|
||||
:apiClasses
|
||||
:sourceMainJava
|
||||
:compileJava警告: [options] 未与 -source 1.7 一起设置引导类路径
|
||||
C:\Users\Xmsoft\IdeaProjects\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:12: 警告: URLClassPath是内部专用 API, 可能会在未来发行版中删除
|
||||
:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
|
||||
C:\Users\magna\OneDrive\Documents\GitHub\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:12: warning: URLClassPath is internal proprietary API and may be removed in a future release
|
||||
import sun.misc.URLClassPath;
|
||||
^
|
||||
C:\Users\Xmsoft\IdeaProjects\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:13: 警告: URLUtil是内部专用 API, 可能会在未来发行版中删除
|
||||
C:\Users\magna\OneDrive\Documents\GitHub\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:13: warning: URLUtil is internal proprietary API and may be removed in a future release
|
||||
import sun.net.util.URLUtil;
|
||||
^
|
||||
C:\Users\Xmsoft\IdeaProjects\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:302: 警告: URLClassPath是内部专用 API, 可能会在未来发行版中删除
|
||||
C:\Users\magna\OneDrive\Documents\GitHub\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:302: warning: URLClassPath is internal proprietary API and may be removed in a future release
|
||||
Field f_loaders = URLClassPath.class.getDeclaredField("loaders");
|
||||
^
|
||||
C:\Users\Xmsoft\IdeaProjects\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:303: 警告: URLClassPath是内部专用 API, 可能会在未来发行版中删除
|
||||
C:\Users\magna\OneDrive\Documents\GitHub\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:303: warning: URLClassPath is internal proprietary API and may be removed in a future release
|
||||
Field f_lmap = URLClassPath.class.getDeclaredField("lmap");
|
||||
^
|
||||
C:\Users\Xmsoft\IdeaProjects\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:308: 警告: URLClassPath是内部专用 API, 可能会在未来发行版中删除
|
||||
C:\Users\magna\OneDrive\Documents\GitHub\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:308: warning: URLClassPath is internal proprietary API and may be removed in a future release
|
||||
URLClassPath ucp = (URLClassPath) f_ucp.get(cl);
|
||||
^
|
||||
C:\Users\Xmsoft\IdeaProjects\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:308: 警告: URLClassPath是内部专用 API, 可能会在未来发行版中删除
|
||||
C:\Users\magna\OneDrive\Documents\GitHub\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:308: warning: URLClassPath is internal proprietary API and may be removed in a future release
|
||||
URLClassPath ucp = (URLClassPath) f_ucp.get(cl);
|
||||
^
|
||||
C:\Users\Xmsoft\IdeaProjects\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:309: 警告: URLUtil是内部专用 API, 可能会在未来发行版中删除
|
||||
C:\Users\magna\OneDrive\Documents\GitHub\Mekanism\build\sources\java\codechicken\core\launch\DepLoader.java:309: warning: URLUtil is internal proprietary API and may be removed in a future release
|
||||
Closeable loader = ((Map<String, Closeable>) f_lmap.get(ucp)).remove(URLUtil.urlNoFragString(url));
|
||||
^
|
||||
注: 某些输入文件使用或覆盖了已过时的 API。
|
||||
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
|
||||
注: 某些输入文件使用了未经检查或不安全的操作。
|
||||
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
|
||||
8 个警告
|
||||
Note: Some input files use or override a deprecated API.
|
||||
Note: Recompile with -Xlint:deprecation for details.
|
||||
Note: Some input files use unchecked or unsafe operations.
|
||||
Note: Recompile with -Xlint:unchecked for details.
|
||||
8 warnings
|
||||
|
||||
:processResources
|
||||
:classes
|
||||
:jar
|
||||
:compileTestJava UP-TO-DATE
|
||||
:processTestResources UP-TO-DATE
|
||||
:testClasses UP-TO-DATE
|
||||
:test UP-TO-DATE
|
||||
:reobf
|
||||
:coreJar
|
||||
:generatorsJar
|
||||
:toolsJar
|
||||
:releaseJars
|
||||
FAILURE: Build failed with an exception.
|
||||
:assemble
|
||||
:check UP-TO-DATE
|
||||
:build
|
||||
|
||||
* What went wrong:
|
||||
Failed to capture snapshot of output files for task 'releaseJars' during up-to-date check. See stacktrace for details.
|
||||
> Failed to create MD5 hash for file C:\Users\Xmsoft\IdeaProjects\Mekanism\.gradle\2.7\taskArtifacts\cache.properties.lock.
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
* Try:
|
||||
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
|
||||
|
||||
|
||||
BUILD FAILED
|
||||
|
||||
Total time: 39.754 secs
|
||||
Total time: 20.389 secs
|
||||
+11
-11
@@ -2,19 +2,19 @@ defaultTasks 'fullBuild'
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
name = "forge"
|
||||
url = "http://files.minecraftforge.net/maven"
|
||||
}
|
||||
maven {
|
||||
name = "sonatype"
|
||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
}
|
||||
maven { url = "https://repo1.maven.org/maven2/" }
|
||||
maven {
|
||||
name = "forge"
|
||||
url = "https://files.minecraftforge.net/maven"
|
||||
}
|
||||
dependencies {
|
||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
||||
maven {
|
||||
name = "sonatype"
|
||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
|
||||
JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
@@ -16,14 +16,14 @@ APP_BASE_NAME=`basename "$0"`
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn ( ) {
|
||||
echo "$*"
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die ( ) {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
@@ -44,7 +44,7 @@ esac
|
||||
|
||||
# For Cygwin, ensure paths are in UNIX format before anything is touched.
|
||||
if $cygwin ; then
|
||||
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
||||
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
||||
fi
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
@@ -52,13 +52,13 @@ fi
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >&-
|
||||
@@ -69,94 +69,94 @@ 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
|
||||
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
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || 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."
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
|
||||
function splitJvmOpts() {
|
||||
JVM_OPTS=("$@")
|
||||
JVM_OPTS=("$@")
|
||||
}
|
||||
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
|
||||
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
|
||||
|
||||
Reference in new issue
Block a user