Record Class FlatFileRepo
java.lang.Object
java.lang.Record
dev.ftb.plugins.ashwing.extension.qol.FlatFileRepo
Simple quality of life addition applied to all projects that provide the ability to use a flat file repository for mods.
This is used by placing mod jar files in an "extra-mods" folder in the project, and then they will be added as dependencies with the "extra-mods" configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionFlatFileRepo(org.gradle.api.Project project) Creates an instance of aFlatFileReporecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.gradle.api.Projectproject()Returns the value of theprojectrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FlatFileRepo
public FlatFileRepo(org.gradle.api.Project project) Creates an instance of aFlatFileReporecord class.- Parameters:
project- the value for theprojectrecord component
-
-
Method Details
-
configure
public void configure() -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
project
public org.gradle.api.Project project()Returns the value of theprojectrecord component.- Returns:
- the value of the
projectrecord component
-