无法解析gradle生成配置的所有文件
Gradle build configuration失败,即使我更新到最新版本,有人能建议我如何解决我已将几个库更新到最新库,直到it合规性达到相同问题吗无法解析gradle生成配置的所有文件,gradle,Gradle,Gradle build configuration失败,即使我更新到最新版本,有人能建议我如何解决我已将几个库更新到最新库,直到it合规性达到相同问题吗 * What went wrong: Execution failed for task ':compileKotlin'. > Could not resolve all files for configuration ':compileClasspath'. > Could not find an
* What went wrong:
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find any matches for io.github.microutils:kotlin-logging:+ as no versions of io.github.microutils:kotlin-logging are available.
即使将owaspDependencyCheckVersion更新为“6.0.1”并将实现(“io.github.microutils:kotlin logging:1.11.5”)更新为“1.11.5”,我仍然收到compileClassPath错误
buildscript {
ext {
kotlinVersion = '1.3.50'
springBootVersion = '2.1.7.RELEASE'
etcdClientVersion = '2.16.0'
owaspDependencyCheckVersion = '5.2.1'
myBatisVersion = '2.1.0'
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}")
classpath("org.jetbrains.kotlin:kotlin-allopen:${kotlinVersion}")
classpath("org.tmatesoft.svnkit:svnkit:+")
classpath "org.owasp:dependency-check-gradle:${owaspDependencyCheckVersion}"
}
}
dependencies {
implementation("org.mybatis.spring.boot:mybatis-spring-boot-starter:${myBatisVersion}")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("com.github.ben-manes.caffeine:caffeine:+")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}")
implementation("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
implementation "com.vividsolutions:jts-io:+"
implementation("de.micromata.jak:JavaAPIforKml:+")
implementation("org.jsoup:jsoup:+")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:+")
implementation("org.mousio:etcd4j:+")
implementation("net.logstash.logback:logstash-logback-encoder:+")
implementation("io.github.microutils:kotlin-logging:+")
implementation('org.postgresql:postgresql')
testImplementation('com.h2database:h2')
testImplementation('org.springframework.boot:spring-boot-starter-test')
testImplementation("com.jayway.jsonpath:json-path-assert")
testImplementation 'io.projectreactor:reactor-test'
}
在
存储库
块中配置了哪些存储库?您确定io.github.microutils:kotlin logging:+
依赖项通过这些存储库之一可用吗?这是完整的build.gradle文件吗?@DineshDontha是的,这是完整的build文件