An exception occurred applying plugin request

Enonic version: CMS
OS: Ubuntu 20.04

I’m currently trying to migrate a Enonic in CMS version to XP6 using this migration tool (cms2xp)

Followed the suggested configuration and steps. When running gradle clean deploy I’m getting the following error:

* What went wrong:
An exception occurred applying plugin request [id: '', version: '1.0.17']
> Failed to apply plugin class 'com.enonic.gradle.xp.BasePlugin'.
   > Could not create an instance of type com.enonic.gradle.xp.XpExtension.
      > Could not generate a decorated class for type XpExtension.
         > Lorg/gradle/api/provider/PropertyState;

Can someone please help me to fix that? I don’t know what’s the point of that exception and how to fix it.

I think it’s worth mentioning that in the config.xml provided to the cms2xp I needed to set the application repo as starter-react since in a commit to starter-vanilla the site.xml was removed and that XML seems to be necessary in order to perform gradle clean deploy. Anyway, I’ll be pointing this in the “Bugs” section too.