|
1 | 1 | plugins { |
2 | | - id 'java' |
3 | | - id 'application' |
4 | | - id 'com.github.johnrengelman.shadow' version '7.1.0' |
5 | | - id 'nu.studer.jooq' version '6.0.1' |
| 2 | + id "java" |
| 3 | + id "application" |
| 4 | + id "com.github.johnrengelman.shadow" version "7.1.2" |
| 5 | + id "nu.studer.jooq" version "6.0.1" |
6 | 6 | } |
7 | 7 |
|
8 | | -group 'de.kittybot' |
9 | | -mainClassName = 'de.kittybot.kittybot.main.Main' |
| 8 | +group "de.kittybot" |
| 9 | +mainClassName = "de.kittybot.kittybot.main.Main" |
| 10 | +sourceCompatibility = 1.11 |
| 11 | +compileJava.options.encoding = "UTF-8" |
| 12 | + |
10 | 13 |
|
11 | 14 | repositories { |
12 | | - maven { url 'https://m2.dv8tion.net/releases' } |
13 | | - maven { url 'https://jitpack.io' } |
| 15 | + maven { url "https://m2.dv8tion.net/releases" } |
| 16 | + maven { url "https://jitpack.io" } |
14 | 17 | mavenCentral() |
15 | 18 | jcenter() // this is still required because of jda utilities |
16 | 19 | } |
17 | 20 |
|
18 | 21 | dependencies { |
19 | 22 | // discord/jda related |
20 | | - implementation('net.dv8tion:JDA:4.3.0_339') { |
21 | | - exclude group: 'club.minnced', module: 'opus-java' |
| 23 | + implementation("net.dv8tion:JDA:4.4.0_352") { |
| 24 | + exclude group: "club.minnced", module: "opus-java" |
22 | 25 | } |
23 | | - implementation 'com.jagrosh:jda-utilities:3.0.5' |
24 | | - implementation 'club.minnced:discord-webhooks:0.7.2' |
25 | | - implementation 'dev.mlnr:BotListHandler-jda:2.0.0_11' |
| 26 | + implementation "com.jagrosh:jda-utilities:3.0.5" |
| 27 | + implementation "club.minnced:discord-webhooks:0.7.5" |
| 28 | + implementation "dev.mlnr:BotListHandler-jda:2.0.0_11" |
26 | 29 |
|
27 | 30 | // audio |
28 | | - implementation('com.github.KittyBot-Org:Lavalink-Client:d48f1a6') { |
29 | | - exclude group: 'com.sedmelluq', module: 'lavaplayer' |
30 | | - } |
31 | | - implementation 'com.sedmelluq:lavaplayer:1.3.78' |
32 | | - implementation 'se.michaelthelin.spotify:spotify-web-api-java:6.5.4' |
| 31 | + implementation "com.github.KittyBot-Org:Lavalink-Client:1.0.0" |
33 | 32 |
|
34 | 33 | // database |
35 | | - implementation 'com.zaxxer:HikariCP:5.0.0' |
36 | | - implementation 'org.jooq:jooq:3.15.4' |
37 | | - implementation 'org.postgresql:postgresql:42.3.0' |
38 | | - jooqGenerator 'org.postgresql:postgresql:42.3.0' |
39 | | - |
| 34 | + implementation "com.zaxxer:HikariCP:5.0.0" |
| 35 | + implementation "org.jooq:jooq:3.16.0" |
| 36 | + implementation "org.postgresql:postgresql:42.3.1" |
| 37 | + jooqGenerator "org.postgresql:postgresql:42.3.1" |
40 | 38 | // logging |
41 | | - implementation 'ch.qos.logback:logback-classic:1.3.0-alpha10' |
42 | | - implementation 'io.sentry:sentry-logback:5.2.4' |
| 39 | + implementation "ch.qos.logback:logback-classic:1.2.8" |
| 40 | + implementation "io.sentry:sentry-logback:5.5.2" |
43 | 41 |
|
44 | 42 | // eval |
45 | | - implementation 'org.codehaus.groovy:groovy-jsr223:3.0.9' |
| 43 | + implementation "org.codehaus.groovy:groovy-jsr223:3.0.9" |
46 | 44 |
|
47 | 45 | // jjwt |
48 | | - implementation 'io.jsonwebtoken:jjwt-api:0.11.2' |
49 | | - implementation 'io.jsonwebtoken:jjwt-impl:0.11.2' |
50 | | - implementation 'io.jsonwebtoken:jjwt-jackson:0.11.2' |
| 46 | + implementation "io.jsonwebtoken:jjwt-api:0.11.2" |
| 47 | + implementation "io.jsonwebtoken:jjwt-impl:0.11.2" |
| 48 | + implementation "io.jsonwebtoken:jjwt-jackson:0.11.2" |
51 | 49 |
|
52 | 50 | // Prometheus |
53 | | - implementation 'io.prometheus:simpleclient:0.12.0' |
54 | | - implementation 'io.prometheus:simpleclient_hotspot:0.12.0' |
55 | | - implementation 'io.prometheus:simpleclient_httpserver:0.12.0' |
| 51 | + implementation "io.prometheus:simpleclient:0.14.1" |
| 52 | + implementation "io.prometheus:simpleclient_hotspot:0.14.1" |
| 53 | + implementation "io.prometheus:simpleclient_httpserver:0.14.1" |
56 | 54 |
|
57 | 55 | // other |
58 | | - implementation 'io.javalin:javalin:4.1.1' |
59 | | - implementation 'io.github.classgraph:classgraph:4.8.129' |
60 | | - implementation 'com.github.ben-manes.caffeine:caffeine:3.0.4' |
61 | | - implementation 'com.squareup.okhttp3:okhttp:4.9.2' |
| 56 | + implementation "io.javalin:javalin:4.2.0" |
| 57 | + implementation "io.github.classgraph:classgraph:4.8.138" |
| 58 | + implementation "com.github.ben-manes.caffeine:caffeine:3.0.5" |
| 59 | + implementation "com.squareup.okhttp3:okhttp:4.9.3" |
62 | 60 | } |
63 | 61 |
|
64 | 62 | jooq { |
65 | | - version = '3.15.2' |
| 63 | + version = "3.15.2" |
66 | 64 | configurations { |
67 | 65 | main { |
68 | 66 | generateSchemaSourceOnCompilation = false |
69 | 67 | generationTool { |
70 | 68 | logging = org.jooq.meta.jaxb.Logging.WARN |
71 | 69 | jdbc { |
72 | | - driver = 'org.postgresql.Driver' |
| 70 | + driver = "org.postgresql.Driver" |
73 | 71 | url = "jdbc:postgresql://${KITTYBOT_DB_HOST}:${KITTYBOT_DB_PORT}/${KITTYBOT_DB_DATABASE}" |
74 | 72 | user = KITTYBOT_DB_USER |
75 | 73 | password = KITTYBOT_DB_PASSWORD |
76 | 74 | } |
77 | 75 | generator { |
78 | | - name = 'org.jooq.codegen.DefaultGenerator' |
| 76 | + name = "org.jooq.codegen.DefaultGenerator" |
79 | 77 | database { |
80 | | - name = 'org.jooq.meta.postgres.PostgresDatabase' |
81 | | - inputSchema = 'public' |
82 | | - includes = '.*' |
83 | | - excludes = '' |
| 78 | + name = "org.jooq.meta.postgres.PostgresDatabase" |
| 79 | + inputSchema = "public" |
| 80 | + includes = ".*" |
| 81 | + excludes = "" |
84 | 82 | } |
85 | 83 | generate { |
86 | 84 | records = true |
87 | 85 | fluentSetters = true |
88 | 86 | } |
89 | 87 | target { |
90 | | - packageName = 'de.kittybot.kittybot.jooq' |
| 88 | + packageName = "de.kittybot.kittybot.jooq" |
91 | 89 | directory = "src/main/jooq" |
92 | 90 | } |
93 | 91 | strategy.name = "org.jooq.codegen.DefaultGeneratorStrategy" |
|
98 | 96 | } |
99 | 97 |
|
100 | 98 | ext { |
101 | | - moduleName = 'KittyBot' |
| 99 | + moduleName = "KittyBot" |
102 | 100 | } |
103 | | - |
104 | | -sourceCompatibility = 1.11 |
105 | | -compileJava.options.encoding = 'UTF-8' |
0 commit comments