void (@NotNull ProjectId projectId, @NotNull Module module, @NotNull ModifiableRootModel rootModel, @NotNull ModifiableModelsProvider modifiableModelsProvider, @NotNull BuildScriptDataBuilder buildScriptData) { buildScriptData .addPluginDefinitionInPluginsGroup("groovy") .addRepositoriesDefinition("mavenCentral()") .addOther(""" tasks.getByName<Test>("test") { useJUnitPlatform() }""") .addDependencyNotation("implementation(\"org.codehaus.groovy:groovy-all:3.0.5\")") .addDependencyNotation("testImplementation(\"org.junit.jupiter:junit-jupiter-api:5.6.0\")") .addDependencyNotation("testRuntimeOnly(\"org.junit.jupiter:junit-jupiter-engine\")"); }