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

Commit 3875843

Browse files
committed
official maven style open ranged dependencies.
1 parent 6a06f75 commit 3875843

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
@@ -140,7 +140,7 @@ class CatkinPackage {
140140

141141
def void generateMessageArtifact(Project p) {
142142
p.version = version
143-
p.dependencies.add("compile", 'org.ros.rosjava_bootstrap:message_generation:0.1.+')
143+
p.dependencies.add("compile", 'org.ros.rosjava_bootstrap:message_generation:[0.1,)')
144144
messageDependencies().each { d ->
145145
p.dependencies.add("compile", p.dependencies.project(path: ':' + d))
146146
}
@@ -160,7 +160,7 @@ class CatkinPackage {
160160
*/
161161
def void generateMessageArtifactInSubFolder(Project p, String subfolderName, List<String> dependencies) {
162162
// p.version = version use the subfolder's project version
163-
p.dependencies.add("compile", 'org.ros.rosjava_bootstrap:message_generation:0.1.+')
163+
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))
166166
}

0 commit comments

Comments
 (0)