Skip to content
This repository was archived by the owner on Jan 14, 2023. It is now read-only.

Commit 1d1b897

Browse files
committed
use the project version for the subfolder message generation (rosjava_test_msgs).
1 parent ab5d79f commit 1d1b897

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gradle_plugins/src/main/groovy/org/ros/gradle_plugins/CatkinPlugin.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ class CatkinPackage {
156156

157157
/*
158158
* Hack to work around for rosjava_test_msgs - look in a subfolder for the
159-
* msgs and name the artifact by the subfolder name.
159+
* msgs and name the artifact by the subfolder name/version.
160160
*/
161161
def void generateMessageArtifactInSubFolder(Project p, String subfolderName, List<String> dependencies) {
162-
p.version = version
162+
// p.version = version use the subfolder's project version
163163
p.dependencies.add("compile", 'org.ros.rosjava_bootstrap:message_generation:0.1.+')
164164
dependencies.each { d ->
165165
p.dependencies.add("compile", p.dependencies.project(path: ':' + d))

0 commit comments

Comments
 (0)