Closed
Description
Hi,
I got an error when I tried to apply the plugin to one of my projects, that files for configuration ':scoverage' could not be resolved.
error message (excluded unrelated stuff)
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':scoverage'.
...
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve org.scoverage:scalac-scoverage-plugin_2:1.3.1.
Required by:
project :
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve org.scoverage:scalac-scoverage-plugin_2:1.3.1.
project: mixed scala / java
gradle version: 5.4.1
scala version: 2.13
java version: 1.8
plugins in build.gradle:
plugins {
id "com.jfrog.artifactory" version "4.9.7"
id 'groovy' // groovy support
id 'java' // java support
id 'scala' // scala support
id 'application' // creates a JVM executable
id 'maven-publish' // publish to a maven repo (local or mvn central, has to be defined)
id 'pmd' // code check, working on source code
id 'com.github.spotbugs' version '2.0.0' // code check, working on byte code
id 'com.diffplug.gradle.spotless' version '3.23.0'// code format
id 'com.simonharrer.modernizer' version '1.6.0-1' // detect deprecated APIs
id 'com.github.onslip.gradle-one-jar' version '1.0.5' // pack a self contained jar
id "de.undercouch.download" version "3.4.3" // downloads plugin
id "kr.motd.sphinx" version "2.5.0" // documentation generation
id "com.github.johnrengelman.shadow" version "5.1.0" // fat jar
id 'jacoco' // java code coverage plugin
id "org.scoverage" version "3.1.5"
}
repositories in build.gradle:
repositories {
mavenLocal() //searches in local maven repository, typically ~/.m2/repository
jcenter() //searches in bintray's repository 'jCenter', which contains Maven Central
maven { url '<internal repo url>' }
maven { url 'https://jade.tilab.com/maven/' } // Maven repository for jade
maven { url 'https://jitpack.io' } // allows github repos as dependencies
}
If you need a full config or more information, please let me know.
Thanks,
Johannes
Metadata
Metadata
Assignees
Labels
No labels