-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (54 loc) · 2.28 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
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '6.0.0'
}
compileJava {
sourceCompatibility = 14
targetCompatibility = 14
}
version '1.0.0.BUILD-SNAPSHOT'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation platform('io.micronaut:micronaut-bom:2.2.3')
// lombok config must come before the Micronaut annotation processor config
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
annotationProcessor "io.micronaut:micronaut-inject-java"
annotationProcessor "io.micronaut.data:micronaut-data-processor:1.1.0.RC3"
implementation "io.micronaut.data:micronaut-data-hibernate-jpa:1.1.0.RC3"
implementation "io.micronaut.sql:micronaut-jdbc-hikari:2.3.3"
implementation "io.micronaut.sql:micronaut-hibernate-jpa:2.3.3"
runtimeOnly "org.postgresql:postgresql:42.2.14"
annotationProcessor "javax.persistence:javax.persistence-api:2.2"
annotationProcessor "io.micronaut.configuration:micronaut-openapi:1.5.1"
// needed because otherwise IntelliJ integration broken
compileOnly "io.micronaut:micronaut-inject-java"
compile "io.micronaut:micronaut-inject"
implementation "io.swagger.core.v3:swagger-annotations:2.1.6"
implementation "io.micronaut:micronaut-runtime"
implementation "javax.jms:javax.jms-api:2.0.1"
implementation "io.micronaut:micronaut-http-server-netty"
implementation "io.micronaut:micronaut-http-client"
implementation "io.micronaut.flyway:micronaut-flyway:3.3.0"
implementation 'ch.qos.logback:logback-classic:1.2.3'
implementation 'io.micronaut.jms:micronaut-jms-activemq-classic:1.0.0.M1'
testAnnotationProcessor "io.micronaut:micronaut-inject-java:2.0.0.M3"
testImplementation "org.junit.jupiter:junit-jupiter-api"
testImplementation "io.micronaut.test:micronaut-test-junit5"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine"
}
mainClassName = "io.micronaut.jms.example.JMSApplicationExample"
tasks.withType(JavaCompile) {
options.fork = true
options.forkOptions.jvmArgs << '-Dmicronaut.openapi.views.spec=rapidoc.enabled=true,swagger-ui.enabled=true,swagger-ui.theme=flattop'
}
test {
useJUnitPlatform()
}
shadowJar {
mergeServiceFiles()
}