You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It breaks the plugin on Gradle 7.6 when pl.droidsonroids.gradle.jacoco.testkit.JacocoTestKitExtension#applyTo is used:
* What went wrong:
A problem occurred configuring root project 'junit14383727692287311849'.
> Could not create task ':generateJacocoIntegrationTestKitProperties'.
> 'org.gradle.api.file.RegularFileProperty org.gradle.api.tasks.WriteProperties.getDestinationFile()'
The plugin has a test to check compatibility with Gradle 7.6, but this test doesn't call method from JacocoTestKitExtension.
But if change Gradle version in the test gradle properties file generated for a custom task -- it will fail.
The text was updated successfully, but these errors were encountered:
Hi,
The diktat uses
jacoco-gradle-testkit-plugin
and we get an error after upgrading to latest versionv.1.0.11
. We still use Gradle 7.6.As I can see, the plugin migrated from custom task
GenerateJaCoCoTestKitProperties
to Gradle's oneWriteProperties
in scope of https://github.com/koral--/jacoco-gradle-testkit-plugin/pull/26, because the propertydestinationFile
was added toWriteProperties
in Gradle 8.x.It breaks the plugin on Gradle 7.6 when
pl.droidsonroids.gradle.jacoco.testkit.JacocoTestKitExtension#applyTo
is used:The plugin has a test to check compatibility with Gradle 7.6, but this test doesn't call method from
JacocoTestKitExtension
.But if change Gradle version in the test
gradle properties file generated for a custom task
-- it will fail.The text was updated successfully, but these errors were encountered: