All Downloads are FREE. Search and download functionalities are using the official Maven repository.

name.remal.gradle_plugins.sonarlint.NodeJsVersions Maven / Gradle / Ivy

There is a newer version: 4.2.15
Show newest version
package name.remal.gradle_plugins.sonarlint;

import static lombok.AccessLevel.PRIVATE;

import lombok.NoArgsConstructor;
import name.remal.gradle_plugins.toolkit.Version;

@NoArgsConstructor(access = PRIVATE)
abstract class NodeJsVersions {
    public static final Version DEFAULT_NODEJS_VERSION = Version.parse("18.20.4");
    public static final Version MIN_SUPPORTED_NODEJS_VERSION = Version.parse("18.17.0");
    
    static {
        if (DEFAULT_NODEJS_VERSION.compareTo(MIN_SUPPORTED_NODEJS_VERSION) < 0) {
            throw new AssertionError(DEFAULT_NODEJS_VERSION + " is less than " + MIN_SUPPORTED_NODEJS_VERSION);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy