Skip to content

Commit

Permalink
Merge pull request #122 from mkristian/better-range-resolve
Browse files Browse the repository at this point in the history
fixed from format of Jars.lock
  • Loading branch information
mkristian committed May 15, 2015
2 parents 3737ba4 + 9aa28c9 commit c1e0817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class JRubyPrepareJarsIntegrationSpec extends Specification {
jrpg.copy()

expect:
new File(jrpg.outputDir, 'Jars.lock').text.trim() == 'io.dropwizard.metrics:metrics-core:3.1.0:'
new File(jrpg.outputDir, 'Jars.lock').text.trim() == 'io.dropwizard.metrics:metrics-core:3.1.0:runtime:'
new File(jrpg.outputDir, 'io/dropwizard/metrics/metrics-core/3.1.0/metrics-core-3.1.0.jar').exists()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class JRubyPrepareJars extends DefaultTask {

if (group != 'rubygems' ) {
// TODO classifier and system-scope
coordinates << "${group}:${dep.name}:${version}:"
coordinates << "${group}:${dep.name}:${version}:runtime:"
}
fileRenameMap[dep.file.name] = newFileName
// TODO omit system-scoped files
Expand Down

0 comments on commit c1e0817

Please sign in to comment.