void (@NotNull String moduleName) { assertContentRoots(moduleName, getProjectPath()); boolean isDelegatedBuild = GradleProjectSettings.isDelegatedBuildEnabled(myProject, getProjectPath()); String[] excludes = isDelegatedBuild ? new String[]{".gradle", "build"} : new String[]{".gradle", "build", "out"}; assertExcludes(moduleName, excludes); assertSources(moduleName, "src/main/java"); assertResources(moduleName, "src/main/resources"); assertTestSources(moduleName, "src/test/java"); assertTestResources(moduleName, "src/test/resources"); }