-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests won't run if the plugin is added #125
Comments
With Maven 3.6 and <dependency>
<groupId>de.adesso</groupId>
<artifactId>junit-insights</artifactId>
<version>1.1.0</version>
<scope>test</scope>
</dependency>
<!-- ... -->
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
<!-- ... -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<de.adesso.junitinsights.enabled>false</de.adesso.junitinsights.enabled>
<junit.jupiter.extensions.autodetection.enabled>false</junit.jupiter.extensions.autodetection.enabled>
<de.adesso.junitinsights.reportpath>reports/</de.adesso.junitinsights.reportpath>
</systemPropertyVariables>
</configuration>
</plugin> I got the error
I had to also add the dependency <dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>1.4.0</version>
<scope>test</scope>
</dependency> ( |
I ran into a similar issue. I breaks because it embeds a copy of Kotlin 1.2 that interferes with Kotlin versions used in projects downstream in interesting ways. Results vary depending on which version is us loaded to the classpath first. I fixed it locally and will file a MR. |
manuelprinz
added a commit
to manuelprinz/junit-insights
that referenced
this issue
Nov 21, 2020
The Kotlin version used to build the project is included in the JAR and causes downstream projects to fail to compile. When removing the dependency the tester module needs to provide Kotlin, so a dependency was added. Closes: adessoSE#125
This was referenced Nov 21, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use the plugin in my project, but once i add the dependency to my
build.gradle.kts
, tests do not run anymore:This is my
build.gradle.kts
file, in which i added the following:dependencies
block:I am using Gradle
6.3
.The text was updated successfully, but these errors were encountered: