-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
71 lines (62 loc) · 2 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id("io.micronaut.application") version "4.4.4"
id("io.micronaut.aot") version "4.4.4"
}
group 'kz.ilotterytea'
version '1.5.0'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.twitch4j:twitch4j:1.23.0'
implementation 'ch.qos.logback:logback-classic:1.5.13'
implementation 'com.google.code.gson:gson:2.10'
implementation 'org.jsoup:jsoup:1.15.3'
implementation 'org.java-websocket:Java-WebSocket:1.5.3'
implementation 'org.reflections:reflections:0.10.2'
implementation 'com.google.guava:guava:32.0.0-android'
implementation 'com.squareup.okhttp3:okhttp'
implementation 'org.hibernate.orm:hibernate-core:6.2.0.Final'
implementation 'org.postgresql:postgresql:42.7.2'
implementation("com.github.ilotterytea:emotes4j:0.2.0")
// Web related dependencies
annotationProcessor("io.micronaut:micronaut-http-validation")
annotationProcessor("io.micronaut.serde:micronaut-serde-processor")
implementation("io.micronaut.serde:micronaut-serde-jackson")
implementation("io.micronaut.views:micronaut-views-handlebars")
compileOnly("io.micronaut:micronaut-http-client")
runtimeOnly("ch.qos.logback:logback-classic")
testImplementation("io.micronaut:micronaut-http-client")
implementation("com.vladsch.flexmark:flexmark-all:0.64.8")
}
test {
useJUnitPlatform()
}
java {
withSourcesJar()
}
application {
mainClass = "kz.ilotterytea.bot.Main"
}
micronaut {
runtime("netty")
testRuntime("junit5")
processing {
incremental(true)
annotations("kz.ilotterytea.bot.*")
}
aot {
optimizeServiceLoading = false
convertYamlToJava = false
precomputeOperations = true
cacheEnvironment = true
optimizeClassLoading = true
deduceEnvironment = true
optimizeNetty = true
replaceLogbackXml = true
}
}