v0.7.1 - Local Properties
Pre-release
Pre-release
Support of local environment
BREAKING CHANGES: Properties bukkit.buildtools
and bukkit.run.dir
was removed.
Now you can define it in local.properties
file (that was automatically created in project root on refresh):
# Absolute path to directory that contains BuildTools.jar
buildtools.dir=/path/to/buildtools/
# Absolute path to dev server
server.dir=/path/to/buildtools/
Or you can define it globally (for all projects that uses BukkitGradle) with environment variables
BUKKIT_DEV_SERVER_HOME
and BUILDTOOLS_HOME
.
For plugin meta added q
and qq
functions
These functions was added after this issue: #13
Usage:
meta {
name = qq "double quoted value" // Will be - name: "double quoted value"
description = q "single quoted value" // Will be - description: `single quoted value`
}
Note: In Groovy you can use functions with two ways: normal - q("value")
and without braces - q "value"
Fixed
NPE on PrepareServer