-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
59 lines (49 loc) · 1.67 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
plugins {
id 'java'
id 'io.quarkus'
id 'org.ajoberstar.grgit' version '5.0.0'
id 'com.diffplug.spotless' version '6.9.0'
}
wrapper {
gradleVersion = '8.10.1'
}
repositories {
mavenCentral()
}
dependencies {
implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation 'io.quarkus:quarkus-info'
implementation 'io.quarkus:quarkus-reactive-routes'
implementation 'io.quarkus:quarkus-smallrye-health'
implementation 'io.quarkus:quarkus-container-image-jib'
implementation 'io.quarkus:quarkus-arc'
implementation 'org.gitlab4j:gitlab4j-api:6.0.0-rc.8'
implementation 'eu.mulk.quarkus-googlecloud-jsonlogging:quarkus-googlecloud-jsonlogging:6.0.0'
testImplementation 'io.quarkus:quarkus-junit5'
testImplementation 'io.rest-assured:rest-assured'
testImplementation 'com.github.tomakehurst:wiremock-jre8:2.33.2'
}
group 'com.unblu.ucascade'
version 'rev_' + grgit.head().abbreviatedId
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << '-parameters'
}
compileTestJava {
options.encoding = 'UTF-8'
}
test {
systemProperty "java.util.logging.manager", "org.jboss.logmanager.LogManager"
}
spotless {
java {
importOrder 'java', 'javax', 'jakarta', 'org', 'com', ''
removeUnusedImports()
// available versions are: https://github.com/diffplug/spotless/tree/master/lib-extra/src/main/resources/com/diffplug/spotless/extra/eclipse_jdt_formatter
eclipse('4.21.0').configFile('.settings/org.eclipse.jdt.core.prefs')
}
}