gradle-cucumber-plugin icon indicating copy to clipboard operation
gradle-cucumber-plugin copied to clipboard

Support Gradle 5.X

Open markmaxey opened this issue 5 years ago • 0 comments

@ronh73 and @gregmunt in PR #74 pointed out an incompatibility with Gradle 5.X. I've subsequently found another:

CucumberJvmOptions that accepts a FileResolver is attempting to call Gradle's DefaultForkOptions(FileResolver) which was removed on 01/31/19 with this changeset. Because of this, when I build using Gradle and this project's Gradle plugin, I receive the following exception:

Could not find matching constructor for: org.gradle.process.internal.DefaultForkOptions(org.gradle.api.internal.file.BaseDirFileResolver)

There are a couple of problems here:

  1. It isn't clear how to fix the issue. More research into Gradle's new APIs is required.
  2. Any solution would be backwards incompatible prior to Gradle 5.3.0.RC1

:(

markmaxey avatar Aug 16 '19 22:08 markmaxey