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.abstract org.gradle.api.file.ConfigurableFileCollectionReturns the files that should be published and that can be consumed by dependents.voidAdd the given paths to the published file collection.
-
Constructor Details
-
DataFileCollection
public DataFileCollection()
-
-
Method Details
-
from
Add the given paths to the file collection.Using this method replaces any previously present default value.
-
publish
Add the given paths to the published file collection.Using this method replaces any previously present default value.
-
getFiles
public abstract org.gradle.api.file.ConfigurableFileCollection getFiles()Returns the files this collection contains.- Returns:
- the files this collection contains
-
getPublished
public abstract org.gradle.api.file.ConfigurableFileCollection getPublished()Returns the files that should be published and that can be consumed by dependents.- Returns:
- the files that should be published and that can be consumed by dependents
-