forked from LielAmar/2FA
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
65 lines (51 loc) · 2.07 KB
/
build.gradle
File metadata and controls
65 lines (51 loc) · 2.07 KB
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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group = 'com.lielamar.auth'
version = 'VanillaPlus-1.7.3'
defaultTasks 'clean', 'shadowJar'
sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
maven { url = "https://repo.alessiodp.com/releases/" }
maven { url = "https://repo.papermc.io/repository/maven-public/" }
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://repo.velocitypowered.com/snapshots/' }
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
}
dependencies {
implementation 'org.json:json:20240303'
implementation 'net.byteflux:libby-core:1.3.1'
implementation 'net.byteflux:libby-bukkit:1.3.1'
implementation 'net.byteflux:libby-bungee:1.3.1'
implementation 'net.byteflux:libby-velocity:1.3.1'
compileOnly 'org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT'
compileOnly 'net.md-5:bungeecord-api:1.21-R0.1-SNAPSHOT'
compileOnly 'com.velocitypowered:velocity-api:3.3.0-SNAPSHOT'
compileOnly 'me.clip:placeholderapi:2.11.6'
compileOnly 'org.jetbrains.kotlin:kotlin-stdlib:2.0.0'
compileOnly 'com.atlassian:onetime:2.1.1'
compileOnly 'org.apache.logging.log4j:log4j-core:2.23.1'
compileOnly 'commons-codec:commons-codec:1.17.1'
compileOnly 'com.zaxxer:HikariCP:5.1.0'
compileOnly 'com.h2database:h2:2.3.230'
compileOnly 'com.mysql:mysql-connector-j:9.0.0'
compileOnly 'org.postgresql:postgresql:42.7.3'
compileOnly 'org.mariadb.jdbc:mariadb-java-client:3.4.1'
compileOnly 'org.mongodb:mongodb-driver-sync:5.1.2'
compileOnly 'org.slf4j:slf4j-api:2.0.13'
}
jar {
enabled = false
dependsOn(shadowJar)
}
shadowJar {
relocate 'net.byteflux', 'com.lielamar.auth.shade'
relocate 'org.json', 'com.lielamar.auth.shade.json'
relocate 'com.google.gson', 'com.lielamar.auth.shade.gson'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}