-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
73 lines (62 loc) · 2.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
plugins {
id "com.github.johnrengelman.shadow" version "8.1.1"
id "application"
id "io.micronaut.application" version "4.0.0"
}
group = "org.example"
version = "1.0-SNAPSHOT"
micronaut {
version "4.0.2"
runtime "lambda_java"
runtime "netty"
testRuntime "spock2"
processing {
incremental(true)
annotations("com.raidiam.trustframework.directory.*")
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32'
implementation('com.nimbusds:nimbus-jose-jwt:9.37.3')
implementation('io.micronaut.security:micronaut-security')
implementation('io.micronaut:micronaut-jackson-databind')
implementation('io.micronaut.rxjava2:micronaut-rxjava2')
implementation('io.micronaut.rxjava2:micronaut-rxjava2-http-client')
implementation("io.micronaut.sql:micronaut-hibernate-jpa")
implementation("io.micronaut.data:micronaut-data-tx-hibernate")
implementation("io.micronaut.sql:micronaut-jdbc-hikari")
runtimeOnly("com.h2database:h2")
runtimeOnly("org.yaml:snakeyaml")
implementation('jakarta.annotation:jakarta.annotation-api')
annotationProcessor("io.micronaut.data:micronaut-data-processor")
annotationProcessor("io.micronaut.data:micronaut-data-hibernate-jpa")
implementation('io.micronaut.data:micronaut-data-hibernate-jpa')
implementation('io.micronaut.sql:micronaut-hibernate-jpa')
annotationProcessor("io.micronaut.security:micronaut-security-annotations")
annotationProcessor("io.micronaut.validation:micronaut-validation-processor")
implementation("io.micronaut.validation:micronaut-validation")
implementation("org.apache.logging.log4j:log4j-core")
runtimeOnly('org.jlib:jlib-awslambda-logback:1.0.0')
implementation('net.logstash.logback:logstash-logback-encoder:7.4')
implementation("io.micronaut.flyway:micronaut-flyway")
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation 'io.rest-assured:rest-assured:5.4.0'
}
tasks.test {
useJUnitPlatform()
reports {
junitXml.required.set(true)
html.required.set(true)
}
}
shadowJar {
mergeServiceFiles()
}
application {
mainClass = "org.example.Application"
}