forked from oraxen/protectionlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (47 loc) · 1.61 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 "idea"
id "eclipse"
id "maven-publish"
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
apply plugin: 'maven-publish'
group 'io.th0rgal'
def pluginVersion = "1.1.1"
ext.jitpackGroup = group + ".protectionlib"
ext.jitpackVersion = 'main-' + pluginVersion
version = pluginVersion
repositories {
mavenCentral()
mavenLocal()
maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" }
maven { url "https://ci.ender.zone/plugin/repository/everything/" }
maven { url "https://maven.enginehub.org/repo/" }
maven { url "https://jitpack.io" }
}
dependencies {
compileOnly group: "org.spigotmc", name: "spigot-api", version: "1.17.1-R0.1-SNAPSHOT"
compileOnly group: "com.sk89q.worldguard", name: "worldguard-bukkit", version: "7.0.5"
compileOnly 'com.github.TownyAdvanced:Towny:0.97.0.0'
compileOnly('com.massivecraft:Factions:1.6.9.5-U0.5.23') {
exclude group: 'org.kitteh', module: 'paste-gg-api'
exclude group: 'com.darkblade12', module: 'particleeffect'
exclude group: 'org.spongepowered', module: 'configurate-hocon'
exclude group: 'com.mojang', module: 'brigadier'
}
compileOnly('com.github.bloodmc:GriefDefenderAPI:master')
compileOnly "com.github.angeschossen:LandsAPI:5.13.0"
//compileOnly 'com.massivecraft:Factions:1.6.9.5-U0.5.23'
}
compileJava.dependsOn clean
build.dependsOn shadowJar
shadowJar {
relocate 'com.flowpowered', 'com.griefdefender.lib.flowpowered'
}
publishing {
publications {
grp(MavenPublication) {
from(components.java)
}
}
}