Git Product home page Git Product logo

spigotgradle's Introduction

SpigotGradle

Build Status

SpigotGradle is a Gradle plugin meant to make certain tasks easier in terms of developing Spigot plugins.

Installation

Any Gradle Version

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.tech.ferus.gradle:SpigotGradle:1.0.5"
  }
}

apply plugin: "tech.ferus.gradle.spigotgradle"

Gradle 2.1+

plugins {
  id "tech.ferus.gradle.spigotgradle" version "1.0.5"
}

Configuration

You should be aware that you can choose to run SpigotGradle without any configuration at all. However, if you want to specify some things or programmatically identify parameters, take a look below:

spigot {
    meta {
        name = project.name
        version = project.version
        description = project.description
        main = "tld.domain.myplugin.MyPlugin"
        website = "https://domain.tld"
        author = "FerusGrim"
        authors = ["FerusGrim"]
        depend = ["SomePlugin", "AnotherPlugin"]
    }
}

Those are the normally accepted parameters in a plugin.yml file and they all work. :)

Behavioral Notes:

  • If you have an existing plugin.yml file, the settings in this configuration section will not override the settings you've already configured.
  • If you don't have an existing plugin.yml, this plugin will only create it at compile time.

Usage

Simply applying the plugin will ensure that it runs. However, for clarification, the current tasks are listed below.

Gradle Tasks:

  • generatePluginData

spigotgradle's People

Contributors

ferusgrim avatar vectrixdevelops avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.