Class Pterodactyl

java.lang.Object
io.github.antod3v.pterodactyl.extension.Pterodactyl

public class Pterodactyl extends Object
Pterodactyl is an extension that gather Credential (for authentication) and Deploy (build option)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Pterodactyl(org.gradle.api.Project project)
    Constructs a new Pterodactyl instance with the given project.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    credential(org.gradle.api.Action<? super Credential> action)
    Executes the given action with the credential.
    void
    deploy(org.gradle.api.Action<? super Deploy> action)
    Executes the given action with the deploy.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public void credential(org.gradle.api.Action<? super Credential> action)
      Executes the given action with the credential.
      Parameters:
      action - the action to be executed with the credential
    • deploy

      public void deploy(org.gradle.api.Action<? super Deploy> action)
      Executes the given action with the deploy.
      Parameters:
      action - the action to be executed with the deploy