org.gradle.api.tasks.compile.BaseForkOptions Java Examples
The following examples show how to use
org.gradle.api.tasks.compile.BaseForkOptions.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PlayRun.java From playframework with Apache License 2.0 | 5 votes |
public PlayRun() { ObjectFactory objects = getProject().getObjects(); httpPort = objects.property(Integer.class).value(DEFAULT_HTTP_PORT); workingDir = objects.directoryProperty(); applicationJar = objects.fileProperty(); assetsJar = objects.fileProperty(); assetsDirs = getProject().files(); runtimeClasspath = getProject().files(); changingClasspath = getProject().files(); platform = objects.property(PlayPlatform.class); forkOptions = new BaseForkOptions(); }
Example #2
Source File: DefaultPlayRunSpec.java From playframework with Apache License 2.0 | 5 votes |
public DefaultPlayRunSpec(Iterable<File> classpath, Iterable<File> changingClasspath, File applicationJar, File assetsJar, Iterable<File> assetsDirs, File projectPath, BaseForkOptions forkOptions, int httpPort) { this.classpath = toLinkedHashSet(classpath); this.changingClasspath = changingClasspath != null ? toLinkedHashSet(changingClasspath) : Collections.emptySet(); this.applicationJar = applicationJar; this.assetsJar = assetsJar; this.assetsDirs = toLinkedHashSet(assetsDirs); this.projectPath = projectPath; this.forkOptions = forkOptions; this.httpPort = httpPort; }
Example #3
Source File: DefaultPlayRunSpec.java From playframework with Apache License 2.0 | 4 votes |
@Override public BaseForkOptions getForkOptions() { return forkOptions; }
Example #4
Source File: PlayRun.java From playframework with Apache License 2.0 | 2 votes |
/** * fork options for the running a Play application. * * @return Fork options */ @Nested public BaseForkOptions getForkOptions() { return forkOptions; }
Example #5
Source File: PlayRunSpec.java From playframework with Apache License 2.0 | votes |
BaseForkOptions getForkOptions();