-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
52 lines (37 loc) · 1.03 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
plugins {
id("groovy")
id("com.github.johnrengelman.shadow") version "6.1.0"
id("io.micronaut.application") version "1.2.0"
}
version = "0.1"
group = "io.energiaplus.micronaut"
repositories {
mavenCentral()
jcenter()
}
micronaut {
runtime("netty")
testRuntime("spock2")
processing {
incremental(true)
annotations("io.energiaplus.*")
}
}
dependencies {
implementation("io.micronaut:micronaut-validation")
implementation("io.micronaut:micronaut-runtime")
implementation("io.micronaut:micronaut-http-client")
implementation("io.micronaut.grpc:micronaut-grpc-client-runtime")
implementation("org.apache.logging.log4j:log4j-core:2.12.1")
runtimeOnly("org.apache.logging.log4j:log4j-api:2.12.1")
runtimeOnly("org.apache.logging.log4j:log4j-slf4j-impl:2.12.1")
}
application {
mainClass.set("io.energiaplus.micronaut.Application")
}
java {
sourceCompatibility = JavaVersion.toVersion("1.8")
targetCompatibility = JavaVersion.toVersion("1.8")
}
tasks {
}