mirror of
https://github.com/bloodmc/GriefDefender.git
synced 2025-01-07 19:38:56 +01:00
Fix gradle jar output.
This commit is contained in:
parent
501c303775
commit
9bd3436a55
@ -26,7 +26,7 @@ defaultTasks 'clean', 'build'
|
|||||||
sourceCompatibility = '1.8'
|
sourceCompatibility = '1.8'
|
||||||
targetCompatibility = '1.8'
|
targetCompatibility = '1.8'
|
||||||
|
|
||||||
archivesBaseName = project.name.toLowerCase()
|
archivesBaseName = 'griefdefender'
|
||||||
|
|
||||||
project.ext.getGitHash = {
|
project.ext.getGitHash = {
|
||||||
def command = Runtime.getRuntime().exec("git rev-parse --short HEAD")
|
def command = Runtime.getRuntime().exec("git rev-parse --short HEAD")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name=GriefDefender
|
name=GriefDefender
|
||||||
group=com.griefdefender
|
group=com.griefdefender
|
||||||
url=https://github.com/bloodmc/GriefDefender
|
url=https://github.com/bloodmc/GriefDefender
|
||||||
version=1.2.3
|
version=1.2.4
|
||||||
adapterVersion=1.15-20191211.164543-1
|
adapterVersion=1.15-20191211.164543-1
|
||||||
apiVersion=1.0.0-20190906.173641-10
|
apiVersion=1.0.0-20190906.173641-10
|
||||||
spigotVersion=1.15-R0.1-SNAPSHOT
|
spigotVersion=1.15-R0.1-SNAPSHOT
|
||||||
|
@ -24,6 +24,22 @@ plugins {
|
|||||||
|
|
||||||
compileJava.options.encoding = 'UTF-8'
|
compileJava.options.encoding = 'UTF-8'
|
||||||
|
|
||||||
|
group = 'com.griefdefender'
|
||||||
|
|
||||||
|
sponge {
|
||||||
|
plugin {
|
||||||
|
id = "griefdefender"
|
||||||
|
meta {
|
||||||
|
name = "GriefDefender"
|
||||||
|
version = "$version"
|
||||||
|
description = "This plugin is designed to prevent all forms of grief."
|
||||||
|
url = "$url"
|
||||||
|
authors = ["bloodmc"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Environment variables for the build set by the build server
|
// Environment variables for the build set by the build server
|
||||||
ext.buildNumber = System.env.BUILD_NUMBER ?: '0'
|
ext.buildNumber = System.env.BUILD_NUMBER ?: '0'
|
||||||
|
|
||||||
@ -32,7 +48,7 @@ defaultTasks 'clean', 'build'
|
|||||||
sourceCompatibility = '1.8'
|
sourceCompatibility = '1.8'
|
||||||
targetCompatibility = '1.8'
|
targetCompatibility = '1.8'
|
||||||
|
|
||||||
archivesBaseName = project.name.toLowerCase()
|
archivesBaseName = 'griefdefender'
|
||||||
|
|
||||||
project.ext.getGitHash = {
|
project.ext.getGitHash = {
|
||||||
def command = Runtime.getRuntime().exec("git rev-parse --short HEAD")
|
def command = Runtime.getRuntime().exec("git rev-parse --short HEAD")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name=GriefDefender
|
name=GriefDefender
|
||||||
group=com.griefdefender
|
group=com.griefdefender
|
||||||
url=https://github.com/bloodmc/GriefDefender
|
url=https://github.com/bloodmc/GriefDefender
|
||||||
version=1.2.3
|
version=1.2.4
|
||||||
apiVersion=7.2.0-SNAPSHOT
|
apiVersion=7.2.0-SNAPSHOT
|
||||||
commonVersion=1.12.2-7.1.7-SNAPSHOT
|
commonVersion=1.12.2-7.1.7-SNAPSHOT
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
import org.spongepowered.api.event.Listener;
|
import org.spongepowered.api.event.Listener;
|
||||||
import org.spongepowered.api.event.Order;
|
import org.spongepowered.api.event.Order;
|
||||||
import org.spongepowered.api.event.game.state.GamePreInitializationEvent;
|
import org.spongepowered.api.event.game.state.GamePreInitializationEvent;
|
||||||
|
import org.spongepowered.api.plugin.Dependency;
|
||||||
import org.spongepowered.api.plugin.Plugin;
|
import org.spongepowered.api.plugin.Plugin;
|
||||||
import org.spongepowered.api.plugin.PluginContainer;
|
import org.spongepowered.api.plugin.PluginContainer;
|
||||||
|
|
||||||
@ -59,7 +60,8 @@
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@Plugin(id = "griefdefender", name = "GriefDefender", version = "1.0.0", description = "Designed to defend world from all types of grief.")
|
@Plugin(id = "griefdefender", name = "GriefDefender", version = "1.2.4", description = "Designed to defend world from all types of grief.",
|
||||||
|
authors = {"bloodmc"}, dependencies = {@Dependency(id = "luckperms", optional = true)})
|
||||||
public class GDBootstrap {
|
public class GDBootstrap {
|
||||||
|
|
||||||
@Inject public PluginContainer pluginContainer;
|
@Inject public PluginContainer pluginContainer;
|
||||||
|
Loading…
Reference in New Issue
Block a user