-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (53 loc) · 1.93 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group = 'net.leonardo_dgs'
version = '1.1.5'
description = 'Let users create their own portals with signs!'
def mainPackage = 'net.leonardo_dgs.signsportals'
tasks.compileJava.sourceCompatibility = JavaVersion.VERSION_1_8
tasks.compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://repo.codemc.org/repository/maven-public/' }
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
maven { url = 'https://jitpack.io/' }
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT'
compileOnly 'net.md-5:bungeecord-chat:1.17-R0.1-SNAPSHOT'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
implementation 'org.bstats:bstats-bukkit:2.2.1'
implementation 'com.github.simplix-softworks:SimplixStorage:3.2.3'
implementation 'co.aikar:idb-core:1.0.0-SNAPSHOT'
implementation 'com.zaxxer:HikariCP:5.0.0'
implementation 'org.slf4j:slf4j-api:1.7.32'
implementation 'org.slf4j:slf4j-nop:1.7.32'
}
processResources {
expand(
version: project.version,
description: project.description,
author: 'Leonardo_DGS',
website: 'https://www.spigotmc.org/resources/55287/'
)
}
tasks.jar.enabled = false
tasks.shadowJar {
archiveBaseName.set(project.name)
archiveClassifier.set("")
archiveVersion.set("")
minimize()
relocate 'org.bstats.bukkit', mainPackage + '.bstats'
relocate 'de.leonhard.storage', mainPackage + '.config'
relocate 'co.aikar.idb', mainPackage + '.idb'
relocate 'com.zaxxer.hikari', mainPackage + '.hikari'
relocate 'org.slf4j', mainPackage + '.slf4j'
}
artifacts {
archives shadowJar
}