-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
77 lines (70 loc) · 2.42 KB
/
build.gradle
File metadata and controls
77 lines (70 loc) · 2.42 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '6.0.0'
id 'nu.studer.jooq' version '6.0.1'
}
application {
mainClassName = 'io.jking.tickster.App'
}
repositories {
mavenCentral()
maven {
url 'https://m2.dv8tion.net/releases'
}
maven {
url 'https://jitpack.io'
}
}
dependencies {
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
implementation group: 'org.postgresql', name: 'postgresql', version: '42.3.0'
implementation group: 'com.zaxxer', name: 'HikariCP', version: '5.0.0'
implementation group: 'org.jooq', name: 'jooq', version: '3.15.4'
jooqGenerator group: 'org.postgresql', name: 'postgresql', version: '42.3.0'
implementation group: 'net.jodah', name: 'expiringmap', version: '0.5.10'
implementation group: 'io.github.classgraph', name: 'classgraph', version: '4.8.141'
implementation("net.dv8tion:JDA:5.0.0-alpha.18") {
exclude module: 'opus-java'
}
implementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.3.0-alpha10'
}
jooq {
version = '3.15.4'
configurations {
main {
generateSchemaSourceOnCompilation = false
generationTool {
logging = org.jooq.meta.jaxb.Logging.WARN
jdbc {
driver = 'org.postgresql.Driver'
url = 'jdbc:postgresql://localhost:5432/tickster'
user = 'postgres'
password = 'password'
}
generator {
name = 'org.jooq.codegen.DefaultGenerator'
database {
name = 'org.jooq.meta.postgres.PostgresDatabase'
inputSchema = 'public'
includes = '.*'
excludes = ''
}
generate {
records = true
fluentSetters = true
immutablePojos = true
}
target {
packageName = 'io.jking.jooq'
directory = "src/main/jooq"
}
strategy.name = "org.jooq.codegen.DefaultGeneratorStrategy"
}
}
}
}
}
group = 'io.jking'
description = 'Untitled'
compileJava.options.encoding = 'UTF-8'