Class Pterodactyl
java.lang.Object
io.github.antod3v.pterodactyl.extension.Pterodactyl
Pterodactyl is an extension that gather Credential (for authentication) and Deploy (build option)
-
Constructor Summary
ConstructorsConstructorDescriptionPterodactyl(org.gradle.api.Project project) Constructs a new Pterodactyl instance with the given project. -
Method Summary
Modifier and TypeMethodDescriptionvoidcredential(org.gradle.api.Action<? super Credential> action) Executes the given action with the credential.voidExecutes the given action with the deploy.
-
Constructor Details
-
Pterodactyl
public Pterodactyl(org.gradle.api.Project project) Constructs a new Pterodactyl instance with the given project.- Parameters:
project- the project associated with the Pterodactyl
-
-
Method Details
-
credential
Executes the given action with the credential.- Parameters:
action- the action to be executed with the credential
-
deploy
Executes the given action with the deploy.- Parameters:
action- the action to be executed with the deploy
-