-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
102 lines (93 loc) · 3 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
plugins {
id 'java-library-distribution'
id 'jacoco'
id 'maven-publish'
}
group = 'com.github.CST-Group'
description = "CST-Desktop"
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = '1.0.6'
repositories {
flatDir {
dirs '../cst-bindings/build/libs'
}
mavenCentral()
maven {
url "https://github.com/rosjava/rosjava_mvn_repo/raw/master"
}
maven {
url "https://repository.springsource.com/maven/bundles/release"
}
maven {
url "https://repository.springsource.com/maven/bundles/external"
}
maven { url 'https://jitpack.io' }
}
configurations {
extraLibs
}
dependencies {
api('com.github.CST-Group:cst:1.4.2')
api('com.github.CST-Group:cst-bindings:1.0.8')
//api ':cst-bindings:1.0.6-full'
api group: 'org.jfree', name: 'jfreechart', version: '1.0.19'
api 'com.soartech:jsoar-core:4.1.3'
api 'com.soartech:jsoar-debugger:4.1.3'
//api 'org.ros.rosjava_core:rosjava:0.3.6'
//implementation 'com.github.rosjava:rosjava_core:0.3.7'
api group: 'net.sf.jung', name: 'jung-algorithms', version: '2.0.1'
api group: 'net.sf.jung', name: 'jung-graph-impl', version: '2.0.1'
api group: 'net.sf.jung', name: 'jung-visualization', version: '2.0.1'
api group: 'net.sf.jung', name: 'jung-api', version: '2.0.1'
api 'com.github.rosjava:rosjava_core:0.3.7'
api 'org.ros.rosjava_bootstrap:message_generation:0.3.3'
testImplementation 'com.github.CST-Group:cst:1.4.2'
testImplementation 'com.1stleg:jnativehook:2.1.0'
testImplementation group: 'junit', name: 'junit', version: '4.12'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.ros.rosjava_messages:std_msgs:0.5.11'
testImplementation 'org.ros.rosjava_messages:rosjava_test_msgs:0.3.0'
}
task javadocJar(type: Jar) {
archiveClassifier = 'javadoc'
from javadoc
from {
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
}
javadoc.options.addStringOption('Xdoclint:none', '-quiet') // this is to avoid complaints about documentation missing parameter description
}
task sourcesJar(type: Jar) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
from {
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
}
}
task uberJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveClassifier = 'full'
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
}
artifacts
{
archives javadocJar, sourcesJar, uberJar
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
jacocoTestReport {
reports {
xml.required = true
}
}