This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
78 lines (62 loc) · 2.55 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
///////////////////////////////////////////////////////////////////////////////////////
//
// etf-core
//
///////////////////////////////////////////////////////////////////////////////////////
buildscript {
repositories {
maven {
url "https://services.interactive-instruments.de/etfdev-af/plugins-releases-local"
credentials {
// Our repository requires authenticating
username 'ii-bda'
password 'AP7mb4WA6F1ckdZkaE8Qx8GSowt'
}}
}
dependencies {
classpath group: 'de.interactive_instruments.bda', name: 'etf-bda', version: '[1.0.28,1.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 Core'
configurations {
umlDoclet
}
dependencies {
compileOnly group: 'de.interactive_instruments', name: 'ii-commons-util', version:'3.0.0'+project.snapshotSuffix
compileOnly group: 'commons-collections', name: 'commons-collections', version: etf_commonsCollectionsVersion
compileOnly group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '2.5.2'
compileOnly group: 'org.slf4j', name: 'slf4j-api', version: etf_slf4jApiVersion
compile group: 'xerces', name: 'xercesImpl', version: etf_xercesVersion
compile group: 'xml-apis', name: 'xml-apis', version: etf_xmlApisVersion
testCompile group: 'de.interactive_instruments', name: 'ii-commons-util', version:'3.0.0'+project.snapshotSuffix
testCompile group: 'junit', name: 'junit', version: etf_junitTestVersion
umlDoclet "nl.talsmasoftware:umldoclet:1.0.18"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
javadoc {
source = sourceSets.main.allJava
options.docletpath = configurations.umlDoclet.files.asType(List)
options.doclet = "nl.talsmasoftware.umldoclet.UMLDoclet"
options.addStringOption "umlImageFormat", "SVG"
options.addStringOption "umlIncludeHyperlinks", "true"
options.addStringOption "umlIncludeMethodReturntypes", "true"
options.addStringOption "umlBasePath", "docs/javadoc"
destinationDir = file("$projectDir/docs/javadoc")
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
// archives javadocJar
}