-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (57 loc) · 2.23 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
plugins {
id 'base'
id "io.spring.dependency-management" version "1.1.5" apply false
id "de.undercouch.download" version "5.1.0" apply false
id 'com.google.protobuf' version '0.9.2' apply false
}
ext.archivesDirectory = rootProject.file('build/archives')
allprojects {
apply from: "$rootDir/gradle/deltix.gradle"
repositories {
mavenCentral()
mavenLocal()
mavenDeltixProxy("epm-rtc-public-java")
}
if (project.subprojects.isEmpty()) {
apply plugin: 'java-library'
apply plugin: 'io.spring.dependency-management'
apply from: "$rootDir/gradle/docker-support.gradle"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
dependencyManagement {
imports {
mavenBom 'deltix:deltix-ember-bom:' + emberVersion
}
dependencies {
dependency ('com.github.spotbugs:spotbugs-annotations:4.7.3') {
exclude 'org.junit:junit-bom'
}
// TEST STUFF
dependency 'org.mockito:mockito-core:2.23.0'
dependencySet (group: 'org.junit.jupiter', version: '5.3.1') {
entry 'junit-jupiter-api'
entry 'junit-jupiter-engine'
}
}
}
dependencies {
implementation 'deltix:deltix-anvil-lang'
implementation 'deltix:deltix-ember-api'
implementation 'deltix:deltix-ember-connector-api'
implementation 'com.github.spotbugs:spotbugs-annotations'
// We need this if we want to Run/Debug connector from this project
runtimeOnly 'deltix:deltix-ember-app:' + emberVersion
testImplementation 'org.mockito:mockito-core'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
test {
useJUnitPlatform {
excludeTags 'real-exchange'
}
jvmArgs '-Dgflog.sync=true', '-Dgflog.console.appender.wrap=true' // sync logging to not mix up messages from different tests
}
}
}