dev.gradleplugins.internal.jvm.JvmSourceCompatibilityProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugin-development Show documentation
Show all versions of gradle-plugin-development Show documentation
Gradle plugin development plugins.
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