Skip to content

Commit 02b651c

Browse files
committed
Fix merge conflict
1 parent 54bdc4b commit 02b651c

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

native-gradle-plugin/src/main/java/org/graalvm/buildtools/gradle/internal/BaseNativeImageOptions.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,6 @@ public String getName() {
156156
@Input
157157
public abstract Property<Boolean> getDebug();
158158

159-
/**
160-
* Returns the server property, used to determine if the native image
161-
* build server should be used.
162-
*
163-
* @return the server property
164-
*/
165-
@Input
166-
public abstract Property<Boolean> getServer();
167-
168159
/**
169160
* @return Whether to enable fallbacks (defaults to false).
170161
*/
@@ -226,7 +217,6 @@ public BaseNativeImageOptions(String name,
226217
String defaultImageName) {
227218
this.name = name;
228219
getDebug().convention(false);
229-
getServer().convention(false);
230220
getFallback().convention(false);
231221
getVerbose().convention(false);
232222
getAgent().convention(false);
@@ -367,16 +357,4 @@ public BaseNativeImageOptions runtimeArgs(Iterable<?> arguments) {
367357
);
368358
return this;
369359
}
370-
371-
/**
372-
* Enables server build. Server build is disabled by default.
373-
*
374-
* @param enabled Value which controls whether the server build is enabled.
375-
* @return this
376-
*/
377-
public BaseNativeImageOptions enableServerBuild(boolean enabled) {
378-
getServer().set(enabled);
379-
return this;
380-
}
381-
382360
}

native-gradle-plugin/src/main/java/org/graalvm/buildtools/gradle/internal/DeprecatedNativeImageOptions.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,6 @@ public Property<Boolean> getDebug() {
153153
return warnAboutDeprecation(delegate::getDebug);
154154
}
155155

156-
@Override
157-
@Input
158-
public Property<Boolean> getServer() {
159-
return warnAboutDeprecation(delegate::getServer);
160-
}
161-
162156
@Override
163157
@Input
164158
public Property<Boolean> getFallback() {
@@ -250,9 +244,4 @@ public NativeImageOptions runtimeArgs(Object... arguments) {
250244
public NativeImageOptions runtimeArgs(Iterable<?> arguments) {
251245
return warnAboutDeprecation(() ->delegate.runtimeArgs(arguments));
252246
}
253-
254-
@Override
255-
public NativeImageOptions enableServerBuild(boolean enabled) {
256-
return warnAboutDeprecation(() -> delegate.enableServerBuild(enabled));
257-
}
258247
}

0 commit comments

Comments
 (0)