Package net.neoforged.moddevgradle.dsl
Class DataFileCollection
java.lang.Object
net.neoforged.moddevgradle.dsl.DataFileCollection
Holds data files (such as ATs) to be used or exposed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the given paths to the file collection.abstract org.gradle.api.file.ConfigurableFileCollectiongetFiles()Returns the files this collection contains.voidConfigures the given files to be published alongside this project.
-
Constructor Details
-
DataFileCollection
-
-
Method Details
-
from
Add the given paths to the file collection.Please note that
src/main/resources/META-INF/accesstransformer.cfgis automatically included for access transformers, if it exists. -
publish
Configures the given files to be published alongside this project. This can include files that are also passed tofrom(java.lang.Object...), but is not required to. For allowed parameters, seeArtifactHandler. -
getFiles
public abstract org.gradle.api.file.ConfigurableFileCollection getFiles()Returns the files this collection contains.- Returns:
- the files this collection contains
-