mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 21:05:58 -05:00
Inital remap jar configuration cache support (#1161)
* Move everything to the new service system * Checkstyle * Fix unit tests + make them use the internet less * Some more fixes * Split the mixin ap mapping handling out into its own service. * Checkstyle * Fixes * Move mixin refmap handling to a service * Minor changes
This commit is contained in:
@@ -229,7 +229,7 @@ public abstract class AbstractRemapJarTask extends Jar {
|
||||
return getInputFile();
|
||||
}
|
||||
|
||||
protected static List<String> getRootPaths(Set<File> files) {
|
||||
public static List<String> getRootPaths(Set<File> files) {
|
||||
return files.stream()
|
||||
.map(root -> {
|
||||
String rootPath = root.getAbsolutePath().replace("\\", "/");
|
||||
@@ -242,7 +242,7 @@ public abstract class AbstractRemapJarTask extends Jar {
|
||||
}).toList();
|
||||
}
|
||||
|
||||
protected static Function<File, String> relativePath(List<String> rootPaths) {
|
||||
public static Function<File, String> relativePath(List<String> rootPaths) {
|
||||
return file -> {
|
||||
String s = file.getAbsolutePath().replace("\\", "/");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user