forked from LielAmar/2FA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
80 lines (61 loc) · 2.28 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
group = 'com.lielamar.auth'
version = '1.6.4'
defaultTasks 'clean', 'shadowJar'
sourceCompatibility = JavaVersion.VERSION_16
repositories {
mavenCentral()
maven {
url = 'https://api.lielamar.com/repository/maven-public/'
content {
// content {
// includeGroup "net.byteflux"
// includeGroup "com.lielamar"
// includeGroup "com.lielamar.ConnectionsManager"
// }
}
}
maven { url = 'https://repo.alessiodp.com/releases' }
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:20220320'
//implementation 'com.lielamar:LielsUtils:1.6.31'
implementation fileTree("libs/")
implementation 'com.google.zxing:core:3.3.2'
implementation 'net.byteflux:libby-core:1.1.5-v2'
implementation 'net.byteflux:libby-bukkit:1.1.5'
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
compileOnly 'com.velocitypowered:velocity-api:3.1.0'
compileOnly 'me.clip:placeholderapi:2.11.2'
compileOnly 'org.apache.logging.log4j:log4j-core:2.18.0'
compileOnly 'com.warrenstrange:googleauth:1.5.0'
compileOnly 'commons-codec:commons-codec:1.15'
compileOnly 'com.zaxxer:HikariCP:4.0.3'
compileOnly 'com.h2database:h2:2.1.214'
compileOnly 'mysql:mysql-connector-java:8.0.29'
compileOnly 'org.postgresql:postgresql:42.5.0'
compileOnly 'org.mariadb.jdbc:mariadb-java-client:3.0.7'
compileOnly 'org.mongodb:mongo-java-driver:3.12.11'
compileOnly 'org.slf4j:slf4j-api:2.0.0'
}
jar {
enabled = false
dependsOn(shadowJar)
}
shadowJar {
classifier = null
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) {
options.encoding = 'UTF-8'
}