Package io.papermc.fill.gradle
Class FillExtensionImpl
java.lang.Object
io.papermc.fill.gradle.FillExtensionImpl
- All Implemented Interfaces:
FillExtension
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.papermc.fill.gradle.FillExtension
FillExtension.Build, FillExtension.Download -
Field Summary
Fields inherited from interface io.papermc.fill.gradle.FillExtension
NAME -
Constructor Summary
ConstructorsConstructorDescriptionFillExtensionImpl(org.gradle.api.model.ObjectFactory objects, org.gradle.api.provider.ProviderFactory providers) -
Method Summary
Modifier and TypeMethodDescriptionorg.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> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.papermc.fill.gradle.FillExtension
apiToken, apiUrl, build, project, version, version, versionFamily, versionFamily
-
Constructor Details
-
FillExtensionImpl
@Inject public FillExtensionImpl(org.gradle.api.model.ObjectFactory objects, org.gradle.api.provider.ProviderFactory providers)
-
-
Method Details
-
getApiUrl
- Specified by:
getApiUrlin interfaceFillExtension
-
getApiToken
- Specified by:
getApiTokenin interfaceFillExtension
-
getProject
- Specified by:
getProjectin interfaceFillExtension
-
getVersionFamily
- Specified by:
getVersionFamilyin interfaceFillExtension
-
getVersion
- Specified by:
getVersionin interfaceFillExtension
-
getBuild
- Specified by:
getBuildin interfaceFillExtension
-
getBuildTimestamp
Description copied from interface:FillExtensionThe 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
- Specified by:
getBuildTimestampin interfaceFillExtension- Returns:
- the build timestamp
- The environment variable
-