I have a gradle project with 2 plugins:

plugins { id 'java' id 'io.gatling.gradle' version '3.14.9.8' } gatling { enterprise { } } sourceSets { gatling { java.srcDirs = ['src/gatling/java'] resources.srcDirs = ['src/gatling/resources'] } } java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } repositories { mavenCentral() flatDir { dirs 'libs' } }

distributionUrl=https://services.gradle.org/distributions/gradle-9.3.1-bin.zip

but when I do sync gradle changes I often see:

Could not create task ':gatlingEnterprisePackage'. Could not create task of type 'GatlingEnterprisePackageTask'. Extension of type 'JavaPluginExtension' does not exist. Currently registered extension types: [ExtraPropertiesExtension, VersionCatalogsExtension]

sometimes that issue disappear and then come back, on previous version (id 'io.gatling.gradle' version '3.10.3') I didn't have such problem. Does it mean it's better to roll back and wait 3.15? Is there any stable version?

Ivan Trechyokas's user avatar

The problem appeared in 'settings.graddle' I had

include 'src'

With empty file I don't have any problems.

Ivan Trechyokas's user avatar

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.