Skip to content

Remove forge features not yet Supported in Grails 7 #15008

@jamesfredley

Description

@jamesfredley

Issue description

list:

  • gorm-neo4j

This might be a starting point:

public void processSelectedFeatures(FeatureContext featureContext) {
int jdkVersion = featureContext.getJavaVersion().majorVersion();
if (jdkVersion >= 9) {
Springloaded springloaded = this;
featureContext.exclude(new FeaturePredicate() {
@Override
public boolean test(Feature feature) {
return feature == springloaded;
}
@Override
public Optional<String> getWarning() {
return Optional.of("Springloaded was excluded because it does not support JDK " + jdkVersion);
}
});
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions