Skip to content

Commit fdd993a

Browse files
committed
Upgrade gradle plugins
1 parent 5629224 commit fdd993a

File tree

2 files changed

+3
-46
lines changed

2 files changed

+3
-46
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Type ros2topic_java <command> -h for more detailed usage, e.g. 'ros2topic echo -
3030
### Publish data to topic
3131
`ros2topic_java pub /topic msgs/Message '{message}'`
3232

33+
Note : auto-increment counter if 'iii' is used.
34+
3335
## ros2services_java
3436

3537
## ros2param_java

rcljava_utils/build.gradle

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
plugins {
2-
id "org.ros2.rcljava" version "0.4.6"
3-
id 'jacoco'
4-
id 'com.github.kt3k.coveralls' version '2.8.1'
2+
id "org.ros2.rcljava" version "0.4.7"
53
}
64

75
apply plugin: 'org.ros2.rcljava'
8-
apply plugin: 'jacoco'
96

107
sourceCompatibility = 1.7
118
targetCompatibility = 1.7
@@ -38,45 +35,3 @@ ament {
3835
}
3936
}
4037
}
41-
42-
43-
test {
44-
finalizedBy 'jacocoTestReport'
45-
// dependsOn 'cleanTest'
46-
}
47-
48-
tasks.withType(Test) {
49-
testLogging {
50-
// set options for log level LIFECYCLE
51-
events "passed", "skipped", "failed", "standardOut"
52-
showExceptions true
53-
exceptionFormat "full"
54-
showCauses true
55-
showStackTraces true
56-
57-
// set options for log level DEBUG and INFO
58-
debug {
59-
events "started", "passed", "skipped", "failed", "standardOut", "standardError"
60-
exceptionFormat "full"
61-
}
62-
info.events = debug.events
63-
info.exceptionFormat = debug.exceptionFormat
64-
65-
afterSuite { desc, result ->
66-
if (!desc.parent) { // will match the outermost suite
67-
def output = "Results: ${result.resultType} (${result.testCount} tests, ${result.successfulTestCount} successes, ${result.failedTestCount} failures, ${result.skippedTestCount} skipped)"
68-
def startItem = '| ', endItem = ' |'
69-
def repeatLength = startItem.length() + output.length() + endItem.length()
70-
println('\n' + ('-' * repeatLength) + '\n' + startItem + output + endItem + '\n' + ('-' * repeatLength))
71-
}
72-
}
73-
}
74-
}
75-
76-
jacocoTestReport {
77-
reports {
78-
xml.enabled = true // coveralls plugin depends on xml format report
79-
html.enabled = true
80-
}
81-
finalizedBy 'coveralls'
82-
}

0 commit comments

Comments
 (0)