-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
101 lines (89 loc) · 3.33 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import javax.inject.Inject
plugins {
id "java"
id "io.quarkus"
id "com.diffplug.spotless" version "${spotlessPluginVersion}"
id "io.freefair.lombok" version "${lombokPluginVersion}"
}
interface ExecOperationsProvider {
@Inject
ExecOperations getExecOperations()
}
def gitVersion() {
def stdout = new ByteArrayOutputStream()
project.objects.newInstance(ExecOperationsProvider).execOperations.exec {
commandLine "git", "describe", "--tags", "--always", "--dirty"
standardOutput = stdout
}
return stdout.toString().trim()
}
group = "app.fyreplace"
version = gitVersion()
repositories {
maven { url "https://www.javaxt.com/maven/" }
mavenCentral()
mavenLocal()
}
dependencies {
implementation(enforcedPlatform("io.quarkus.platform:quarkus-bom:${quarkusPlatformVersion}"))
implementation(enforcedPlatform("io.quarkus.platform:quarkus-amazon-services-bom:${quarkusPlatformVersion}"))
implementation(enforcedPlatform("io.sentry:sentry-bom:${sentryVersion}"))
implementation("io.quarkus:quarkus-arc")
implementation("io.quarkus:quarkus-cache")
implementation("io.quarkus:quarkus-config-yaml")
implementation("io.quarkus:quarkus-elytron-security-jdbc")
implementation("io.quarkus:quarkus-hibernate-orm-panache")
implementation("io.quarkus:quarkus-hibernate-validator")
implementation("io.quarkus:quarkus-jdbc-h2")
implementation("io.quarkus:quarkus-jdbc-postgresql")
implementation("io.quarkus:quarkus-liquibase")
implementation("io.quarkus:quarkus-mailer")
implementation("io.quarkus:quarkus-rest")
implementation("io.quarkus:quarkus-rest-jackson")
implementation("io.quarkus:quarkus-rest-qute")
implementation("io.quarkus:quarkus-scheduler")
implementation("io.quarkus:quarkus-security")
implementation("io.quarkus:quarkus-smallrye-health")
implementation("io.quarkus:quarkus-smallrye-jwt")
implementation("io.quarkus:quarkus-smallrye-jwt-build")
implementation("io.quarkus:quarkus-smallrye-openapi")
implementation("io.quarkiverse.amazonservices:quarkus-amazon-s3")
implementation("io.sentry:sentry-jul")
implementation("javaxt:javaxt-core:${javaXtVersion}")
implementation("software.amazon.awssdk:url-connection-client")
implementation("software.amazon.awssdk.crt:aws-crt")
implementation("com.twelvemonkeys.imageio:imageio-webp:${twelveMonkeysVersion}")
implementation(project(":quarkus-sentry:deployment"))
implementation(project(":quarkus-sentry:runtime"))
testImplementation("io.quarkus:quarkus-junit5")
testImplementation("io.quarkus:quarkus-test-h2")
testImplementation("io.quarkus:quarkus-test-security")
testImplementation("io.rest-assured:rest-assured")
testImplementation("org.apiguardian:apiguardian-api:+")
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
test {
systemProperty "java.util.logging.manager", "org.jboss.logmanager.LogManager"
}
compileJava {
options.encoding = "UTF-8"
options.compilerArgs << "-parameters"
}
compileTestJava {
options.encoding = "UTF-8"
}
spotless {
java {
importOrder()
removeUnusedImports()
palantirJavaFormat()
target "**/src/*/java/**/*.java"
}
yaml {
jackson()
target "**/src/*/resources/**/*.yaml"
}
}