-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (35 loc) · 1019 Bytes
/
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
plugins {
id "java"
id "idea"
id "com.github.johnrengelman.shadow" version "6.1.0"
id "io.micronaut.application" version '1.1.0'
}
version "0.2"
group "com.ttrzcinski"
repositories {
mavenCentral()
jcenter()
}
micronaut {
runtime "lambda"
testRuntime "junit5"
processing {
incremental true
annotations "com.ttrzcinski.*"
}
}
dependencies {
// implementation("io.micronaut:micronaut-http-server")
implementation("io.micronaut:micronaut-http-server-netty")
implementation("io.micronaut:micronaut-validation")
implementation("io.micronaut:micronaut-runtime")
implementation("javax.annotation:javax.annotation-api")
runtimeOnly("ch.qos.logback:logback-classic")
testImplementation("io.micronaut:micronaut-http-client")
}
mainClassName = "com.ttrzcinski.Application"
// mainClassName = "com.ttrzcinski.TheHandler"
java {
sourceCompatibility = JavaVersion.toVersion('11')
targetCompatibility = JavaVersion.toVersion('11')
}