Gradle 无法获取分类依赖项
在这个 我想使用jdk8分类 但当我使用gradle dependecy时,声明如下:Gradle 无法获取分类依赖项,gradle,dependency-injection,dependencies,jt400,Gradle,Dependency Injection,Dependencies,Jt400,在这个 我想使用jdk8分类 但当我使用gradle dependecy时,声明如下: compile('net.sf.jt400:jt400:9.5:jdk8') 它尝试像这样获取文件: 因此,它在分类中使用破折号而不是像回购协议中使用的子核心,有人知道如何让它使用子核心吗 错误: * What went wrong: Could not resolve all files for configuration ':compileClasspath'. > Could not fi
compile('net.sf.jt400:jt400:9.5:jdk8')
它尝试像这样获取文件:因此,它在分类中使用破折号而不是像回购协议中使用的子核心,有人知道如何让它使用子核心吗 错误:
* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find jt400-jdk8.jar (net.sf.jt400:jt400:9.5).
Searched in the following locations:
我在存储库中读错了名称: 分类应该是
jt400\u jdk8
而不仅仅是jdk8
,这意味着工作依赖注入将是:compile('net.sf.jt400:jt400:9.5:jt400\u jdk8')