-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
84 lines (74 loc) · 2.67 KB
/
build.gradle
File metadata and controls
84 lines (74 loc) · 2.67 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
plugins{
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'nu.studer.jooq' version '5.2.1'
}
mainClassName = 'me.arynxd.monkebot.Main'
sourceCompatibility = 14
repositories {
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
//Misc / Util
implementation 'info.debatty:java-string-similarity:2.0.0'
implementation 'io.github.classgraph:classgraph:4.8.98'
implementation 'ch.qos.logback:logback-classic:1.2.3'
implementation 'net.jodah:expiringmap:0.5.9'
//Web
implementation 'org.jsoup:jsoup:1.13.1'
implementation "io.javalin:javalin:3.13.3"
implementation 'io.prometheus:simpleclient:0.10.0'
implementation 'io.prometheus:simpleclient_hotspot:0.10.0'
implementation 'io.prometheus:simpleclient_httpserver:0.10.0'
//Eval
implementation 'org.codehaus.groovy:groovy-jsr223:3.0.7'
//Discord
implementation 'net.dv8tion:JDA:4.2.0_228'
implementation 'com.sedmelluq:lavaplayer:1.3.69'
//Database
implementation 'org.postgresql:postgresql:42.2.18'
jooqGenerator 'org.postgresql:postgresql:42.2.18'
implementation 'com.zaxxer:HikariCP:4.0.2'
implementation 'org.jooq:jooq:3.14.7'
}
jooq {
version = '3.14.4'
configurations {
main {
generateSchemaSourceOnCompilation = false
generationTool {
logging = org.jooq.meta.jaxb.Logging.WARN
jdbc {
url = MONKE_DB_URL
user = MONKE_DB_USER
password = MONKE_DB_PASSWORD
driver = 'org.postgresql.Driver'
}
generator {
name = 'org.jooq.codegen.DefaultGenerator'
database {
name = 'org.jooq.meta.postgres.PostgresDatabase'
inputSchema = 'public'
includes = '.*'
excludes = ''
}
generate {
deprecated = false
records = true
immutablePojos = true
fluentSetters = true
}
target {
packageName = ''
directory = "src/main/java/me/arynxd/monkebot/entities/jooq"
clean = true
}
strategy.name = "org.jooq.codegen.DefaultGeneratorStrategy"
}
}
}
}
}
compileJava.options.encoding = 'UTF-8'