Skip to content

Instantly share code, notes, and snippets.

View codeHusky's full-sized avatar
🚭

Loki codeHusky

🚭
View GitHub Profile
Error:(66, 54) java: diamond operator is not supported in -source 1.6
(use -source 7 or higher to enable diamond operator)
C:\Users\Lokio\Desktop\InteliJ Stuff\Sponge\SpongeForge\SpongeCommon\SpongeAPI\src\main\java\org\spongepowered\api\scoreboard\Scoreboard.java
Error:(55, 27) java: static interface methods are not supported in -source 1.6
(use -source 8 or higher to enable static interface methods)
C:\Users\Lokio\Desktop\InteliJ Stuff\Sponge\SpongeForge\SpongeCommon\SpongeAPI\src\main\java\org\spongepowered\api\util\command\args\ChildCommandElementExecutor.java
Error:(132, 71) java: lambda expressions are not supported in -source 1.6
(use -source 8 or higher to enable lambda expressions)
C:\Users\Lokio\Desktop\InteliJ Stuff\Sponge\SpongeForge\SpongeCommon\SpongeAPI\src\main\java\org\spongepowered\api\entity\projectile\Snowball.java
Error:(41, 5) java: default methods are not supported in -source 1.6
// Gradle plugins
buildscript {
repositories {
maven {
name = 'plugins'
url = 'https://plugins.gradle.org/m2'
}
}
dependencies {
8:20:54 PM: Executing external task 'runServer'...
Found AccessTransformer: common_at.cfg
Found AccessTransformer: common_at.cfg
:deobfCompileDummyTask
:deobfProvidedDummyTask
:SpongeCommon:deobfCompileDummyTask
:SpongeCommon:deobfProvidedDummyTask
C:\Users\Lokio\Desktop\InteliJ Stuff\Sponge\SpongeForge\SpongeCommon\SpongeAPI\src\main\java\org\spongepowered\api\entity\ai\Goal.java:67: warning: [rawtypes] found raw type: AITask
Goal<O> addTask(int priority, AITask task);
^
8:31:47 PM: Executing external task 'runServer'...
Found AccessTransformer: common_at.cfg
Found AccessTransformer: common_at.cfg
:deobfCompileDummyTask
:deobfProvidedDummyTask
:SpongeCommon:deobfCompileDummyTask
:SpongeCommon:deobfProvidedDummyTask
:SpongeCommon:SpongeAPI:compileJava UP-TO-DATE
:SpongeCommon:SpongeAPI:processResources UP-TO-DATE
:SpongeCommon:SpongeAPI:classes UP-TO-DATE
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\Lokio\Desktop\IntelliJ Stuff\Sponge\SpongeForge\build.gradle' line: 19
* What went wrong:
A problem occurred evaluating root project 'SpongeForge'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
> java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 2
C:\Users\Lokio\Desktop\IntelliJ Stuff\Sponge\SpongeForge>gradle setupDecompWorkspace --refresh-dependencies
'gradle' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Lokio\Desktop\IntelliJ Stuff\Sponge\SpongeForge>gradlew setupDecompWorkspace --refresh-dependencies
FAILURE: Build failed with an exception.
* Where:
:\Users\Lokio\Desktop\IntelliJ Stuff\Sponge\SpongeForge>gradlew cleanCache
Download http://repo.spongepowered.org/maven/org/spongepowered/spoon-core/4.3.0-SNAPSHOT/spoon-core-4.3.0-20151002.025830-1.jar
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.4.2/ecj-4.4.2.jar
Download https://jcenter.bintray.com/com/martiansoftware/jsap/2.1/jsap-2.1.jar
Download https://jcenter.bintray.com/log4j/log4j/1.2.17/log4j-1.2.17.jar
Download http://repo.minecrell.net/releases/net/minecrell/VanillaGradle/2.0.2_1/VanillaGradle-2.0.2_1.pom
Download https://plugins.gradle.org/m2/commons-io/commons-io/1.4/commons-io-1.4.pom
Download https://plugins.gradle.org/m2/org/apache/commons/commons-parent/7/commons-parent-7.pom
Download http://repo.minecrell.net/releases/net/minecrell/VanillaGradle/2.0.2_1/VanillaGradle-2.0.2_1.jar
Download https://plugins.gradle.org/m2/commons-io/commons-io/1.4/commons-io-1.4.jar
C:\Users\Lokio\Desktop\IntelliJ Stuff\Sponge\SpongeForge>gradlew cleanCache --stacktrace
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\Lokio\Desktop\IntelliJ Stuff\Sponge\SpongeForge\build.gradle' line: 19
* What went wrong:
A problem occurred evaluating root project 'SpongeForge'.
> Failed to apply plugin [id 'net.minecraftforge.gradle.forge']
Error:(68, 17) java: cannot find symbol
symbol: method setDefaultOptions(ninja.leaping.configurate.ConfigurationOptions)
location: class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder
var sio = require("socket.io");
var io = sio(1000);
console.log("Listening on port 1000");
io.on("connection", function(socket){
console.log("Connection");
socket.on("getUserInfo", function(userId) {
Chat.getUserInfo(socket, userId);
});
socket.on("fetchRoom", function(rid){