Skip to content
Merged
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 @@ -80,6 +80,7 @@ tasks.javadoc {
languageVersion.set(JavaLanguageVersion.of(11))
})
(options as StandardJavadocDocletOptions).addBooleanOption("html5", true)
(options as StandardJavadocDocletOptions).noTimestamp(true)
}

tasks.withType<Test>().configureEach {
Expand Down
2 changes: 0 additions & 2 deletions docs/src/docs/asciidoc/gradle-plugin.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ nativeBuild {
debug = true // Determines if debug info should be generated, defaults to false
verbose = true // Add verbose output, defaults to false
fallback = true // Sets the fallback mode of native-image, defaults to false
server = true // Sets the server mode, defaults to false
sharedLibrary = false // Determines if image is a shared library, defaults to false if `java-library` plugin isn't included

systemProperties = [name1: 'value1', name2: 'value2'] // Sets the system properties to use for the native image builder
Expand All @@ -172,7 +171,6 @@ nativeBuild {
debug.set(true) // Determines if debug info should be generated, defaults to false
verbose.set(true) // Add verbose output, defaults to false
fallback.set(true) // Sets the fallback mode of native-image, defaults to false
server.set(true) // Sets the server mode, defaults to false
sharedLibrary.set(false) // Determines if image is a shared library, defaults to false if `java-library` plugin isn't included

systemProperties.putAll(mapOf(name1 to "value1", name2 to "value2")) // Sets the system properties to use for the native image builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,6 @@ public abstract class NativeImageOptions {
@Input
public abstract Property<Boolean> getDebug();

/**
* Returns the server property, used to determine if the native image
* build server should be used.
*
* @return the server property
*/
@Input
public abstract Property<Boolean> getServer();

/**
* @return Whether to enable fallbacks (defaults to false).
*/
Expand Down Expand Up @@ -214,7 +205,6 @@ public NativeImageOptions(ObjectFactory objectFactory,
JavaToolchainService toolchains,
String defaultImageName) {
getDebug().convention(false);
getServer().convention(false);
getFallback().convention(false);
getVerbose().convention(false);
getAgent().convention(false);
Expand Down Expand Up @@ -365,15 +355,4 @@ public NativeImageOptions runtimeArgs(Iterable<?> arguments) {
return this;
}

/**
* Enables server build. Server build is disabled by default.
*
* @param enabled Value which controls whether the server build is enabled.
* @return this
*/
public NativeImageOptions enableServerBuild(boolean enabled) {
getServer().set(enabled);
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ public List<String> asArguments() {
appendBooleanOption(cliArgs, options.getDebug(), "-H:GenerateDebugInfo=1");
appendBooleanOption(cliArgs, options.getFallback().map(NEGATE), "--no-fallback");
appendBooleanOption(cliArgs, options.getVerbose(), "--verbose");
appendBooleanOption(cliArgs, options.getServer(), "-Dcom.oracle.graalvm.isaot=true");
appendBooleanOption(cliArgs, options.getSharedLibrary(), "--shared");
if (getOutputDirectory().isPresent()) {
cliArgs.add("-H:Path=" + getOutputDirectory().get());
Expand Down