-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.gradle
46 lines (38 loc) · 1 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
plugins {
id 'com.google.cloud.tools.jib' version '3.3.2'
id 'io.micronaut.application' version "4.2.1"
id "com.diffplug.spotless" version "6.25.0"
id "jacoco"
id "idea"
}
// Automatically managed by commitizen (.cz.yaml)
version = "0.11.0"
group = "com.locust"
repositories {
mavenCentral()
}
application {
mainClass.set("com.locust.Application")
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
sourceCompatibility = JavaVersion.toVersion("17")
targetCompatibility = JavaVersion.toVersion("17")
}
graalvmNative.toolchainDetection = false
micronaut {
runtime("netty")
testRuntime("junit5")
processing {
incremental(true)
annotations("com.*")
}
}
// don"t change apply ordering
apply from: "${rootDir}/gradle/dependencies.gradle"
apply from: "${rootDir}/gradle/testing.gradle"
apply from: "${rootDir}/gradle/spotless.gradle"
apply from: "${rootDir}/gradle/jib.gradle"
apply from: "${rootDir}/gradle/jacoco.gradle"