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

dev.gradleplugins.internal.jvm.JvmSourceCompatibilityProperty Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
package dev.gradleplugins.internal.jvm;

import org.gradle.api.JavaVersion;

import java.util.Objects;

public final class JvmSourceCompatibilityProperty implements JvmCompatibilityProperty {
    private final JvmCompatibilityProperty delegate;

    public JvmSourceCompatibilityProperty(JvmCompatibilityProperty delegate) {
        this.delegate = delegate;
    }

    @Override
    public JavaVersion get() {
        return delegate.get();
    }

    @Override
    public void set(JavaVersion value) {
        Objects.requireNonNull(value);
        delegate.set(value);
    }

    @Override
    public void finalizeValue() {
        delegate.finalizeValue();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy