[GRADLE-312] Build qualifier can't be used with long version numbers. Created: 19/Nov/08  Updated: 04/Jan/13  Resolved: 23/Nov/08

Status: Resolved
Project: Gradle
Affects Version/s: 0.4
Fix Version/s: None

Type: Bug
Reporter: Raphael Miranda Assignee: Hans Dockter
Resolution: Won't Fix Votes: 0


 Description   

[...]
dependencies {
[...]
compile ( [
'net.sf.json-lib:json-lib:2.2.1:jdk5@jar',
] )
[...]
}
resolves to
[2.2.1] net.sf.json-lib#json-lib;2.2.1 (forced)
downloading http://intranet.ideais.com.br/archiva/repository/internal/net/sf/json-lib/json-lib/2.2.1/json-lib-2.2.1.jar ...

'net.sf.json-lib:json-lib:2.2:jdk5@jar', works as expected



 Comments   
Comment by Hans Dockter [ 23/Nov/08 ]

I haven't checked with 0.4. For 0.5 the following works:

dependencies {
    addMavenRepo()
    compile 'net.sf.json-lib:json-lib:2.2.1:jdk15@jar'
}
Comment by Hans Dockter [ 23/Nov/08 ]

I should add that 0.5 is not released yet. So I should have said that the above works for trunk.

Generated at Wed Jun 30 11:26:56 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.