-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
109 lines (89 loc) · 3.18 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
105
106
107
108
109
/*
* Skyblock Plus - A Skyblock focused Discord bot with many commands and customizable features to improve the experience of Skyblock players and guild staff!
* Copyright (c) 2021-2024 kr45732
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
plugins {
id 'application'
// Shadow jar
id 'com.github.johnrengelman.shadow' version '8.1.1'
// Spring boot
id 'org.springframework.boot' version '3.3.1'
id "io.spring.dependency-management" version "1.1.6"
// Lombok annotations
id "io.freefair.lombok" version "8.6"
}
version = '0.0.1'
mainClassName = 'com.skyblockplus.Main'
tasks.register('stage') {
dependsOn['shadowJar']
dependsOn build
doLast {
file("build/libs/SkyblockPlus-0.0.1-all.jar").delete()
delete fileTree(dir: "build/distributions/")
}
}
repositories {
mavenCentral()
maven { url 'https://m2.dv8tion.net/releases' }
maven { url 'https://jitpack.io' }
maven {
url 'https://m2.chew.pro/releases'
content {
includeGroup("pw.chew")
}
}
maven {
url 'https://m2.chew.pro/snapshots'
content {
includeGroup("pw.chew")
}
}
}
dependencies {
// JDA (Discord API wrapper)
implementation ('net.dv8tion:JDA:5.0.0') {
exclude module: 'opus-java'
}
// Discord webhooks
implementation 'club.minnced:discord-webhooks:0.8.4'
// JDA utilities
implementation 'pw.chew:jda-chewtils:2.0-SNAPSHOT'
// implementation 'com.github.chew.jda-chewtils:jda-chewtils:e9fbfeadc3'
// JSON
implementation 'com.google.code.gson:gson:2.11.0'
// NBT parser
implementation 'me.nullicorn:Nedit:2.2.0'
// Spring boot and postgresql
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:3.3.1'
implementation 'org.springframework.boot:spring-boot-starter-security:3.3.1'
implementation 'org.springframework.boot:spring-boot-starter-web:3.3.1'
runtimeOnly 'org.postgresql:postgresql:42.7.3'
// Http client
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
// Emoji parser
implementation 'com.vdurmont:emoji-java:5.1.1'
// Groovy
implementation "org.codehaus.groovy:groovy:3.0.22"
// Logging
implementation 'ch.qos.logback:logback-classic:1.5.6'
implementation 'ch.qos.logback:logback-core:1.5.6'
// Git
implementation 'org.eclipse.jgit:org.eclipse.jgit:6.10.0.202406032230-r'
// Caching
implementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
// Fuzzy searching
implementation 'me.xdrop:fuzzywuzzy:1.4.0'
}