-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (52 loc) · 1.54 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
plugins {
id 'application'
id 'java'
id 'eclipse'
id 'idea'
id "io.spring.dependency-management" version "1.1.7"
id "io.freefair.lombok" version "8.11"
}
repositories {
maven { url 'https://repo.spring.io/milestone' }
mavenCentral()
}
dependencyManagement {
imports {
mavenBom 'io.micrometer:micrometer-bom:1.14.2'
mavenBom 'io.netty:netty-bom:4.1.116.Final'
mavenBom 'com.linecorp.armeria:armeria-bom:1.31.3'
mavenBom 'io.github.resilience4j:resilience4j-bom:2.2.0'
}
}
dependencies {
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'com.linecorp.armeria:armeria'
runtimeOnly 'org.slf4j:slf4j-simple:2.0.16'
implementation "io.projectreactor.netty:reactor-netty-core:1.2.1"
implementation "io.projectreactor.netty:reactor-netty-http:1.2.1"
implementation 'com.google.code.gson:gson:2.11.0'
implementation 'org.postgresql:r2dbc-postgresql:1.0.7.RELEASE'
implementation 'io.r2dbc:r2dbc-pool:1.0.2.RELEASE'
}
application {
mainClass.set('net.skinsrestorer.mojangapi.Main')
applicationDefaultJvmArgs = [
"-Djava.net.preferIPv6Addresses=true",
"-XX:+UnlockExperimentalVMOptions",
"-XX:+UseG1GC",
"-XX:G1NewSizePercent=20",
"-XX:G1ReservePercent=20",
"-XX:MaxGCPauseMillis=50",
"-XX:G1HeapRegionSize=32M"
]
}
tasks.withType(JavaCompile).configureEach {
sourceCompatibility = '21'
targetCompatibility = '21'
options.encoding = 'UTF-8'
options.debug = true
options.compilerArgs += '-parameters'
}
tasks.withType(Test).configureEach {
useJUnitPlatform()
}