Skip to content
Handy gradle utilities for the various gradle projects of SpongePowered
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main Merge pull request #14 from Katrix/feature/update-ore-deploy Aug 25, 2018
.gitattributes Add Sponge plugin Gradle plugin for plugin metadata integration Feb 28, 2016
.gitignore Initial commit Jan 5, 2016
.travis.yml Add Sponge plugin Gradle plugin for plugin metadata integration Feb 28, 2016
HEADER.txt Add Sponge plugin Gradle plugin for plugin metadata integration Feb 28, 2016
LICENSE.txt
README.md
build.gradle
gradle.properties
gradlew Update Gradle wrapper to 4.9 Aug 20, 2018
gradlew.bat Update Gradle wrapper to 3.2 Nov 16, 2016
settings.gradle Add Sponge plugin Gradle plugin for plugin metadata integration Feb 28, 2016

README.md

SpongeGradle

SpongeGradle is a Gradle plugin which provides utility tasks for the Sponge Project.

Tasks

The following tasks are currently available:

// Sort AccessTransformer (AT) configuration files
sortAccessTransformers {
    add <sourceSet>
}

sourceSet specifies the sourceset to search for AT configurations

// Sort member fields in specified files
sortClassFields {
    add {sourceSet}, <fullyQualifiedClassName>
}

sourceSet can be a SourceSet instance or the name of the source set to process, if omitted the task assumes the main SourceSet.

Building SpongeGradle

SpongeGradle can of course be built using Gradle. To perform a build simply execute:

gradle

To add the compiled jar to your local maven repository, run:

gradle build install
You can’t perform that action at this time.