-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (56 loc) · 1.97 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
plugins {
id("com.github.johnrengelman.shadow") version "7.1.2"
id("io.micronaut.application") version "3.7.10"
}
version = "0.1"
group = "org.johan.cra"
repositories {
mavenCentral()
}
dependencies {
annotationProcessor("org.projectlombok:lombok")
annotationProcessor("io.micronaut.data:micronaut-data-processor")
annotationProcessor("io.micronaut:micronaut-http-validation")
annotationProcessor("io.micronaut.security:micronaut-security-annotations")
implementation("io.micronaut:micronaut-http-client")
implementation("io.micronaut:micronaut-jackson-databind")
implementation("io.micronaut.data:micronaut-data-hibernate-jpa")
implementation("io.micronaut.sql:micronaut-jdbc-hikari")
implementation("io.micronaut.cache:micronaut-cache-caffeine")
implementation("io.micronaut.security:micronaut-security-jwt")
implementation("io.micronaut.reactor:micronaut-reactor")
implementation("io.micronaut.reactor:micronaut-reactor-http-client")
implementation("jakarta.annotation:jakarta.annotation-api")
implementation('org.mindrot:jbcrypt:0.4')
compileOnly("org.projectlombok:lombok")
compileOnly("org.graalvm.nativeimage:svm")
runtimeOnly("ch.qos.logback:logback-classic")
runtimeOnly("mysql:mysql-connector-java")
testImplementation("io.micronaut.test:micronaut-test-rest-assured")
testImplementation("org.mockito:mockito-core")
testImplementation('nl.jqno.equalsverifier:equalsverifier:3.14.2')
testRuntimeOnly("com.h2database:h2")
}
application {
mainClass.set("org.johan.cra.Application")
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
targetCompatibility = JavaVersion.toVersion("17")
}
graalvmNative {
binaries {
main {
imageName.set("cra-api")
buildArgs.add("--verbose")
}
}
}
micronaut {
runtime("netty")
testRuntime("junit5")
processing {
incremental(true)
annotations("org.johan.cra.*")
}
}