-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
65 lines (52 loc) · 1.76 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
plugins {
id "io.spring.dependency-management" version "1.0.9.RELEASE"
}
apply plugin: "java"
apply plugin: "groovy"
version "0.5"
group "au.com.rma.micronaut.jms"
dependencyManagement {
imports {
mavenBom "io.micronaut:micronaut-bom:$micronautVersion"
}
}
repositories {
jcenter()
}
dependencies {
annotationProcessor enforcedPlatform("io.micronaut:micronaut-bom:$micronautVersion")
annotationProcessor "io.micronaut:micronaut-inject-java"
annotationProcessor "io.micronaut:micronaut-validation"
implementation enforcedPlatform("io.micronaut:micronaut-bom:$micronautVersion")
implementation "io.micronaut:micronaut-messaging"
implementation "io.micronaut:micronaut-inject"
implementation "io.micronaut:micronaut-inject-java"
implementation "io.micronaut:micronaut-management"
implementation "com.ibm.mq:com.ibm.mq.allclient:9.1.5.0"
testImplementation(enforcedPlatform("io.micronaut:micronaut-bom:$micronautVersion"))
testImplementation "io.micronaut.test:micronaut-test-spock"
testImplementation "org.spockframework:spock-core"
testImplementation "io.micronaut:micronaut-inject-java"
testImplementation "io.micronaut:micronaut-inject-groovy"
testRuntimeOnly "ch.qos.logback:logback-classic:1.2.3"
testRuntimeOnly 'io.micronaut:micronaut-tracing'
testRuntimeOnly "io.micronaut:micronaut-runtime"
}
test {
testLogging {
showStandardStreams = true
exceptionFormat = 'full'
}
failFast = true
}
java {
sourceCompatibility = JavaVersion.toVersion('1.8')
targetCompatibility = JavaVersion.toVersion('1.8')
}
task sourcesJar(type: Jar, dependsOn: classes) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}