-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (47 loc) · 1.78 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'com.palantir.git-version' version '0.15.0'
id 'net.minecrell.plugin-yml.bukkit' version '0.5.2'
}
group 'com.github.nova_27.mcplugin'
version versionDetails().lastTag.substring(1)
repositories {
mavenCentral()
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url 'https://maven.enginehub.org/repo/' }
maven { url "https://repo.dmulloy2.net/repository/public/" }
maven { url 'https://jitpack.io/' }
}
dependencies {
implementation 'org.jetbrains:annotations:23.0.0'
compileOnly 'org.spigotmc:spigot-api:1.14-R0.1-SNAPSHOT'
compileOnly 'org.spigotmc:spigot-api:1.18-R0.1-SNAPSHOT'
compileOnly 'com.sk89q.worldedit:worldedit-bukkit:7.2.9'
compileOnly 'com.comphenix.protocol:ProtocolLib:4.7.0'
implementation 'com.github.Querz:NBT:6.1'
implementation 'org.bstats:bstats-bukkit:3.0.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.4'
}
shadowJar {
if (project.hasProperty('outputDir'))
getDestinationDirectory().set(new File(outputDir))
relocate 'org.bstats', "${project.group}.${rootProject.name.toLowerCase()}"
}
bukkit {
name = rootProject.name
version = project.version
main = "${project.group}.${rootProject.name.toLowerCase()}.${rootProject.name}"
description = 'CrafterePost公式プラグイン'
website = 'https://crafterepost.netlify.app/'
apiVersion = '1.13'
author = 'nova27'
depend = ['WorldEdit', 'ProtocolLib']
commands {
crapos {
description = 'Schematic建築ファイル / MCSR録画ファイル を出力します'
usage = 'usage: /<command> <schem|record>'
aliases = ['crafterepost']
}
}
}