Hey Sanjay, The plugin that fails to apply is very old and unmaintained - it looks that the last release was in 2015. I doubt that it will ever work with a modern version of Gradle. The sample you linked to is using Gradle 4 and I've stopped maintaining it because the low interest in using Geb with Cucumber does not justify the effort I would need to put in to find an alternative plugin and then update the sample.
You basically have to options: - stick to Gradle 4 - find an alternative Gradle plugin for Cucumber and then switch to using that Note that as I said, the use of Geb with Cucumber seems to be fairly low so you would be in somehow uncharted territory if you went for that combination. Marcin On Fri, Jan 21, 2022 at 12:49 AM Sanjay Reddy <[email protected]> wrote: > Hi All, > > I am trying to implement geb cucumber for my project with gradle 6.8.3 and > groovy 2.5.14 and geb 4.1 and using the setting from > https://github.com/geb/geb-example-cucumber-jvm/blob/master/build.gradle > > *1. Getting below exception, please hlep me fixing this issue:* > > An exception occurred applying plugin request [id: > 'com.github.samueltbrown.cucumber', version: '0.9'] > > Failed to apply plugin 'com.github.samueltbrown.cucumber'. > Could not create an instance of type > com.excella.gradle.cucumber.CucumberJvmOptions. > > Could not find matching constructor for: > org.gradle.process.internal.DefaultJavaForkOptions(org.gradle.api.internal.file.BaseDirFileResolver) > > > 2. If any one found the solution to execute single feature then request > you to please share. > > -- > You received this message because you are subscribed to the Google Groups > "Geb User Mailing List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/geb-user/cd1737c9-b69f-4bfa-8774-d0f76aa747cfn%40googlegroups.com > <https://groups.google.com/d/msgid/geb-user/cd1737c9-b69f-4bfa-8774-d0f76aa747cfn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/CA%2B52dQSDKx5J4zgx-yRw2etvJjrj36LerV3xm-irEee20Mr0pw%40mail.gmail.com.
