#gradle
#gradle
Вопрос:
Сбой конфигурации сборки Gradle даже при обновлении до последней версии может кто-нибудь подсказать мне, каким будет разрешение Я обновил пару библиотек до последних библиотек, пока они не будут соответствовать той же проблеме
* 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») по-прежнему получаю ошибку 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'
}
Комментарии:
1. Какие репозитории настроены в вашем
repositories
блоке? Вы уверены, чтоio.github.microutils:kotlin-logging:
зависимость доступна через один из этих репозиториев?2. это полный файл build.gradle?
3. @DineshDontha да, это полный файл сборки