Package io.papermc.fill.gradle
Interface FillExtension
- All Known Implementing Classes:
FillExtensionImpl
@NullMarked
public interface FillExtension
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidSet the API authorization tokendefault voidSet the api url to interact withdefault voidbuild(org.gradle.api.Action<? super FillExtension.Build> action) org.gradle.api.provider.Property<String> org.gradle.api.provider.Property<String> getBuild()org.gradle.api.provider.Property<String> The build timestamp inDateTimeFormatter.ISO_INSTANTformat.org.gradle.api.provider.Property<String> org.gradle.api.provider.Property<String> org.gradle.api.provider.Property<String> default voidSet the project type to publish fordefault voidSet the minecraft version to publishdefault voidSet the minecraft version to publishdefault voidversionFamily(String family) Set the version familydefault voidversionFamily(org.gradle.api.provider.Provider<String> provider) Set the version family
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getApiUrl
-
apiUrl
Set the api url to interact with- Parameters:
url- the url
-
getApiToken
-
apiToken
Set the API authorization token- Parameters:
token- the token
-
getProject
-
project
Set the project type to publish for- Parameters:
project- the type
-
getVersionFamily
-
versionFamily
Set the version familyeg 1.20, 1.21, 1.22
- Parameters:
family- the family
-
versionFamily
Set the version familyeg 1.20, 1.21, 1.22
- Parameters:
provider- the family provider
-
getVersion
-
version
Set the minecraft version to publish- Parameters:
version- the version
-
version
Set the minecraft version to publish- Parameters:
provider- the version provider
-
getBuild
FillExtension.Build getBuild() -
build
-
getBuildTimestamp
The build timestamp inDateTimeFormatter.ISO_INSTANTformat.Defaults to:- The environment variable
BUILD_STARTED_AT, if set - The Gradle property
BUILD_STARTED_AT, if set - The current time, if neither of the above are set
- Returns:
- the build timestamp
- The environment variable
-