ihji / sbt-antlr4

Antlr4 plugin for sbt 1.1+ and 0.13.x
57 stars 35 forks source link

Resolver URL returns 404 #12

Closed imsj2016 closed 8 years ago

imsj2016 commented 8 years ago

README.md specifies resolvers += "simplytyped" at "http://simplytyped.github.io/repo/releases" however, this returns a 404

ihji commented 8 years ago

README.md updated. Now we use bintray instead of github pages. Thanks for your report.

amanjpro commented 8 years ago

The version in bintray cannot resolve ANTLR 4.5!

My configuration is: Scala v 2.11.8 and SBT 0.13.8.

It used to work in version (0.7.4) in the older repository.

That is what I get:

[info] Set current project to root (in build src/)
[info] Updating {file:/PATH/TO/src/}pkg...
java.lang.IllegalArgumentException: Cannot add dependency 'org.antlr#antlr4;4.5.3' to configuration 'antlr4' of module my.project#pkg_2.11;0.1-SNAPSHOT because this configuration doesn't exist!
    at org.apache.ivy.core.module.descriptor.DefaultDependencyDescriptor.addDependencyConfiguration(DefaultDependencyDescriptor.java:565)
    at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$AbstractParser.parseDepsConfs(AbstractModuleDescriptorParser.java:157)
    at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$AbstractParser.parseDepsConfs(AbstractModuleDescriptorParser.java:128)
    at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$AbstractParser.parseDepsConfs(AbstractModuleDescriptorParser.java:118)
    at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$AbstractParser.parseDepsConfs(AbstractModuleDescriptorParser.java:113)
    at sbt.CustomXmlParser$CustomParser.parseDepsConfs(CustomXmlParser.scala:32)
    at sbt.IvySbt$.convertDependency(Ivy.scala:610)
ihji commented 8 years ago

@amanjpro I published all 0.7.x versions to bintray now. You can use 0.7.4 version with bintray repo.

amanjpro commented 8 years ago

@ihji thank you, it fixed the problem