-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
60 lines (51 loc) · 1.32 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'idea'
id 'kr.entree.spigradle' version '1.2.4'
}
repositories {
mavenCentral()
enginehub()
jitpack()
}
dependencies {
compileOnly spigot('1.16.1')
compileOnly worldguard()
implementation 'com.github.VergilPrime:AngelProtect:1.5.4'
implementation 'com.github.oraxen:Oraxen:5b10acaf8a'
}
def getVersionName = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'sh', '-c', 'git describe --tags --always || echo v1.0.0-beta'
standardOutput = stdout
}
return stdout.toString().trim()
}
group = 'com.github.kristianvld'
version = getVersionName()
description = 'AngelTrophies'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
jar.archiveFileName = 'AngelTrophies.jar'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
spigot {
name = project.description
description = 'AngelReaches placeable trohpies plugin'
commands {
skin {
description = 'Main skin command to skin items'
usage = '/skin <sub command>'
}
}
authors = ['kristianvld']
apiVersion = '1.16'
depends = ['Oraxen']
softDepends = ['AngelProtect', 'WorldGuard']
website = 'https://github.com/kristianvld/AngelTrophies'
}