-
Notifications
You must be signed in to change notification settings - Fork 19
/
build.gradle
87 lines (73 loc) · 2.75 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
///////////////////////////////////////////////////////////////////////////////////////
//
// ETF
//
///////////////////////////////////////////////////////////////////////////////////////
buildscript {
repositories {
maven {
url "https://af.etf.interactive-instruments.de/repository/gradle-plugins"
credentials {
username 'ii-bda'
password 'AP7mb4WA6F1ckdZkaE8Qx8GSowt'
}}
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
}
dependencies {
classpath group: 'de.interactive_instruments.bda', name: 'etf-bda', version: '[2.0.33,2.0.99]'
}
dependencies {
ant.unjar src: configurations.classpath.files.find {it.path.contains('etf')}, dest: 'build/gradle'
}
}
apply from: 'build/gradle/ii-bda.gradle'
///////////////////////////////////////////////////////////////////////////////////////
group = 'de.interactive_instruments.etf'
description = 'ETF'
allprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
sourceCompatibility = '11'
targetCompatibility = '11'
configurations {
all {
exclude group: 'com.thoughtworks.xstream', module: 'xstream'
exclude group: 'org.bouncycastle', module: 'bcprov-jdk15on'
exclude group: 'log4j', module: 'log4j'
exclude group: 'org.jdom', module: 'jdom'
exclude group: 'org.reflections', module: 'reflections'
}
}
task preTagCommit(overwrite: true) {}
task createReleaseTag(overwrite: true) {}
task updateVersion(overwrite: true) {}
task commitNewVersion(overwrite: true) {}
task unSnapshotVersion(overwrite: true) {}
task updateVersion(overwrite: true) {}
task commitNewVersion(overwrite: true) {}
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
dependencies {
if(Integer.valueOf(org.gradle.internal.jvm.Jvm.current().getJavaVersion().getMajorVersion())>8) {
implementation('javax.xml.bind:jaxb-api:2.3.1')
implementation('javax.activation:activation:1.1')
implementation('org.glassfish.jaxb:jaxb-runtime:2.3.6')
}
implementation group: 'de.interactive_instruments', name: 'ii-commons-util', version: '4.0.1' + project.snapshotSuffix
testImplementation group: 'org.slf4j', name: 'slf4j-api', version: etf_slf4jApiVersion
testImplementation group: 'org.slf4j', name: 'slf4j-simple', version: etf_slf4jApiVersion
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: etf_junitTestVersion
}
version = rootProject.version
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
}