mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Add forgeRuntimeLibrary configuration + some clean up (#64)
This commit is contained in:
@@ -81,6 +81,16 @@ public final class DependencyDownloader {
|
||||
return files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolves a configuration and its superconfigurations.
|
||||
*
|
||||
* <p>Note that unlike resolving a {@linkplain Configuration#copyRecursive() recursive copy} of the configuration,
|
||||
* this method overrides the transitivity of all superconfigurations as well.
|
||||
*
|
||||
* @param configuration the configuration to resolve
|
||||
* @param transitive true if transitive dependencies should be included, false otherwise
|
||||
* @return a mutable set containing the resolved files of the configuration
|
||||
*/
|
||||
public static Set<File> resolveFiles(Configuration configuration, boolean transitive) {
|
||||
return resolve(configuration, transitive);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user