Don't remapJar when running runClient or runServer (#207)

* Update LoomGradlePlugin.java

* Update LoomGradlePlugin.java

* ok jar then
dev/0.11
Fudge 2020-05-13 21:45:13 +03:00 committed by GitHub
parent 3eff7d0fdb
commit c54ad10eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -164,12 +164,12 @@ public class LoomGradlePlugin extends AbstractPlugin {
tasks.register("remapSourcesJar", RemapSourcesJarTask.class); tasks.register("remapSourcesJar", RemapSourcesJarTask.class);
tasks.register("runClient", RunClientTask.class, t -> { tasks.register("runClient", RunClientTask.class, t -> {
t.dependsOn("assemble", "downloadAssets"); t.dependsOn("jar", "downloadAssets");
t.setGroup("minecraftMapped"); t.setGroup("minecraftMapped");
}); });
tasks.register("runServer", RunServerTask.class, t -> { tasks.register("runServer", RunServerTask.class, t -> {
t.dependsOn("assemble"); t.dependsOn("jar");
t.setGroup("minecraftMapped"); t.setGroup("minecraftMapped");
}); });
} }