Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
fix compile
Dieser Commit ist enthalten in:
Ursprung
e415e73623
Commit
6998c2d230
@ -16,7 +16,7 @@ fun Project.applyCommonConfiguration() {
|
|||||||
//maven { url = uri("https://ci.athion.net/job/FAWE-Piston/ws/") }
|
//maven { url = uri("https://ci.athion.net/job/FAWE-Piston/ws/") }
|
||||||
ivy { url = uri("https://ci.athion.net/job")
|
ivy { url = uri("https://ci.athion.net/job")
|
||||||
patternLayout {
|
patternLayout {
|
||||||
artifact("/[organisation]/ws/[module].[ext]")
|
artifact("/[organisation]/[module]/artifact/[revision].[ext]")
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
@ -42,7 +42,7 @@ public class CFICommand extends CommandProcessor<Object, Object> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object process(InjectedValueAccess context, List<String> args, Object result) {
|
public int process(InjectedValueAccess context, List<String> args, int result) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,13 +67,13 @@ public abstract class CommandProcessor<I, O> implements CommandManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final O /* Need to recompile with FAWE-piston */ execute(InjectedValueAccess context, List<String> args) {
|
public final int execute(InjectedValueAccess context, List<String> args) {
|
||||||
args = preprocess(context, args);
|
args = preprocess(context, args);
|
||||||
if (args != null) {
|
if (args != null) {
|
||||||
I result = (I) parent.execute(context, args);
|
int result = parent.execute(context, args);
|
||||||
return process(context, args, result); // TODO NOT IMPLEMENTED (recompile piston)
|
return process(context, args, result); // TODO NOT IMPLEMENTED (recompile piston)
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,5 +89,5 @@ public abstract class CommandProcessor<I, O> implements CommandManager {
|
|||||||
|
|
||||||
public abstract List<String> preprocess(InjectedValueAccess context, List<String> args);
|
public abstract List<String> preprocess(InjectedValueAccess context, List<String> args);
|
||||||
|
|
||||||
public abstract O process(InjectedValueAccess context, List<String> args, I result);
|
public abstract int process(InjectedValueAccess context, List<String> args, int result);
|
||||||
}
|
}
|
@ -61,7 +61,7 @@ public class DelegateCommandManager implements CommandManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object execute(InjectedValueAccess context, List<String> args) {
|
public int execute(InjectedValueAccess context, List<String> args) {
|
||||||
return parent.execute(context, args);
|
return parent.execute(context, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
applyLibrariesConfiguration()
|
applyLibrariesConfiguration()
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
/*
|
||||||
"shade"("FAWE-Piston:core/build/libs/core-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
"shade"("FAWE-Piston:core/build/libs/core-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
||||||
"shade"("FAWE-Piston:core-ap/runtime/build/libs/runtime-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
"shade"("FAWE-Piston:core-ap/runtime/build/libs/runtime-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
||||||
"shade"("FAWE-Piston:default-impl/build/libs/default-impl-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
"shade"("FAWE-Piston:default-impl/build/libs/default-impl-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
||||||
|
*/
|
||||||
"shade"("org.enginehub.piston.core-ap:annotations:${Versions.PISTON}")
|
"shade"("org.enginehub.piston.core-ap:annotations:${Versions.PISTON}")
|
||||||
"shade"("org.enginehub.piston.core-ap:processor:${Versions.PISTON}")
|
"shade"("org.enginehub.piston.core-ap:processor:${Versions.PISTON}")
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,12 @@ dependencies {
|
|||||||
}
|
}
|
||||||
"shade"("com.thoughtworks.paranamer:paranamer:2.6")
|
"shade"("com.thoughtworks.paranamer:paranamer:2.6")
|
||||||
"shade"("com.sk89q.lib:jlibnoise:1.0.0")
|
"shade"("com.sk89q.lib:jlibnoise:1.0.0")
|
||||||
|
"shade"("org.enginehub.piston:core:${Versions.PISTON}")
|
||||||
|
"shade"("org.enginehub.piston.core-ap:runtime:${Versions.PISTON}")
|
||||||
|
"shade"("org.enginehub.piston:default-impl:${Versions.PISTON}")
|
||||||
|
/*
|
||||||
"shade"("FAWE-Piston:core/build/libs/core-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
"shade"("FAWE-Piston:core/build/libs/core-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
||||||
"shade"("FAWE-Piston:core-ap/runtime/build/libs/runtime-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
"shade"("FAWE-Piston:core-ap/runtime/build/libs/runtime-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
||||||
"shade"("FAWE-Piston:default-impl/build/libs/default-impl-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
"shade"("FAWE-Piston:default-impl/build/libs/default-impl-${Versions.PISTON}:lastSuccessfulBuild@jar")
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren