forked from androjus/BSP-PlayerShops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
104 lines (95 loc) · 2.84 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
plugins {
id 'java'
id 'maven-publish'
id 'kr.entree.spigradle' version '2.2.3'
}
repositories {
mavenLocal()
maven {
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
// lord have mercy...
flatDir {
dirs 'libs'
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
compileOnly name: 'BossShopPro'
}
group = 'BSP-PlayerShops'
version = '1.2.6'
description = 'PlayerShops'
java.sourceCompatibility = JavaVersion.VERSION_1_8
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks {
spigot {
name = 'PlayerShops'
version = project.version
apiVersion = '1.16'
description = 'BossShopPro Addon - Allow your players to create public GUI shops'
authors = ['Black_ixx']
website = 'http://felix.neuby.de'
depends = ['BossShopPro']
commands {
playershops {
description = 'Opens PlayerShops list'
aliases = ['playershop', 'ps']
}
playershopsadmin {
description = 'PlayerShops admin commands'
aliases = ['playershopadmin', 'psadmin']
}
}
permissions {
'PlayerShops.open' {
description = 'Allows opening the playershops listing GUI'
defaults = 'op'
}
'PlayerShops.create' {
description = 'Allows creating an own PlayerShop'
defaults = 'op'
}
'PlayerShops.rent' {
description = 'Allows renting a better shop listing spot'
defaults = 'op'
}
'PlayerShops.buySlot' {
description = 'Allows purchasing additional shop slots'
defaults = 'op'
}
'PlayerShops.selectIcon' {
description = 'Allows selecting a shop icon'
defaults = 'op'
}
'PlayerShops.createSign' {
description = 'Allows creating a PlayerShops sign which links to the own shop'
defaults = 'op'
}
'PlayerShops.createSign.other' {
description = 'Allows creating PlayerShops signs which link to any player'
defaults = 'op'
}
'PlayerShops.rename' {
description = 'Allows players to rename their own shop'
defaults = 'op'
}
'PlayerShops.admin' {
description = 'Allows players to use PlayerShops admin commands'
defaults = 'op'
}
}
}
}