Skip to content

Upgrade to latest NBT #1146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
import org.graalvm.buildtools.gradle.internal.BaseNativeImageOptions;
import org.graalvm.buildtools.gradle.internal.NativeImageCommandLineProvider;
import org.graalvm.buildtools.gradle.tasks.BuildNativeImageTask;
import org.graalvm.buildtools.gradle.tasks.CreateLayerOptions;
import org.graalvm.buildtools.gradle.tasks.LayerOptions;
import org.gradle.api.Action;
import org.gradle.api.DomainObjectSet;
import org.gradle.api.JavaVersion;
import org.gradle.api.Project;
import org.gradle.api.Task;
Expand Down Expand Up @@ -415,6 +418,26 @@ public Property<Boolean> getPgoInstrument() {
public DirectoryProperty getPgoProfilesDirectory() {
return delegate.getPgoProfilesDirectory();
}

@Override
public DomainObjectSet<LayerOptions> getLayers() {
return delegate.getLayers();
}

@Override
public void layers(Action<? super DomainObjectSet<LayerOptions>> action) {
delegate.layers(action);
}

@Override
public void useLayer(String name) {
delegate.useLayer(name);
}

@Override
public void createLayer(Action<? super CreateLayerOptions> action) {
delegate.createLayer(action);
}
};
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MicronautGraalPluginSpec extends AbstractEagerConfiguringFunctionalTest {
void 'native-image is called with the generated JSON file directory (Micronaut Application)'() {
given:
withSwaggerMicronautApplication()
withNativeImageDryRun()
//withNativeImageDryRun()

when:
def result = build('nativeCompile', '-i', '--stacktrace')
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ groovy = "3.0.25"
spock = "2.3-groovy-3.0"
oraclelinux = "9"
amazonlinux = "2023-minimal"
graalvmPlugin = "0.10.6"
graalvmPlugin = "0.11.0"
mockserver = "5.15.0"
log4j2 = "2.24.3"
tomlj = "1.1.1"
Expand Down
Loading