-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
69 lines (56 loc) · 1.77 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '6.0.0'
id 'maven-publish'
}
group 'dev.ryanland'
version '1.0.0'
mainClassName = 'dev.ryanland.colossus.Colossus'
repositories {
mavenCentral()
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
maven { url 'https://jitpack.io' }
}
dependencies {
// log
implementation 'ch.qos.logback:logback-classic:1.4.12'
implementation 'org.slf4j:slf4j-api:2.0.13'
// jda
implementation 'net.dv8tion:JDA:5.2.0'
// hibernate (database)
implementation "org.hibernate.orm:hibernate-core:6.5.2.Final"
implementation 'org.hibernate.orm:hibernate-hikaricp:6.5.2.Final'
implementation 'com.zaxxer:HikariCP:5.1.0'
// lombok
implementation 'org.projectlombok:lombok:1.18.34'
annotationProcessor 'org.projectlombok:lombok:1.18.34'
// misc
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'io.github.classgraph:classgraph:4.8.174'
// test
testImplementation 'org.hibernate.orm:hibernate-community-dialects:6.6.0.Final'
testImplementation 'com.h2database:h2:2.3.230'
testImplementation 'org.xerial:sqlite-jdbc:3.46.0.0'
testImplementation 'org.mongodb:mongodb-driver-sync:4.9.0'
testImplementation "org.postgresql:postgresql:42.7.3"
testAnnotationProcessor 'org.projectlombok:lombok:1.18.34'
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'dev.ryanland'
artifactId = 'Colossus'
version = version
from components.java
}
}
}
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}