- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getMainClass (0.3 sec)
-
platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPlugin.java
} }); run.setClasspath(runtimeClasspath); run.getMainModule().set(pluginExtension.getMainModule()); run.getMainClass().set(pluginExtension.getMainClass()); run.getJvmArguments().convention(project.provider(pluginExtension::getApplicationDefaultJvmArgs));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 11.9K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/process/JavaExecSpec.java
) Property<String> getMainClass(); /** * Sets the fully qualified name of the main class to be executed. * * @param main the fully qualified name of the main class to be executed. * * @return this * * @deprecated Use {@link #getMainClass()}.set(main) instead. This method will be removed in Gradle 9.0. */ @Deprecated
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 08:40:36 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/DelegatingJavaExecSpec.java
@Override default Property<String> getMainModule() { return getDelegate().getMainModule(); } @Override default Property<String> getMainClass() { return getDelegate().getMainClass(); } @Nullable @Override default List<String> getArgs() { return getDelegate().getArgs(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/internal/DefaultJavaApplication.java
} @Override public Property<String> getMainModule() { return mainModule; } @Override public Property<String> getMainClass() { return mainClass; } @Override public Iterable<String> getApplicationDefaultJvmArgs() { return DeprecationLogger.whileDisabled(convention::getApplicationDefaultJvmArgs); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/internal/deployment/RunApplication.java
JavaExecHandleBuilder builder = getExecActionFactory().newJavaExec(); builder.setExecutable(Jvm.current().getJavaExecutable()); builder.setClasspath(classpath); builder.getMainClass().set(mainClassName); builder.setArgs(arguments); registry.start(getPath(), changeBehavior, JavaApplicationHandle.class, builder); } } @Inject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/JavaApplication.java
* * @since 6.4 */ Property<String> getMainModule(); /** * The fully qualified name of the application's main class. * * @since 6.4 */ Property<String> getMainClass(); /** * Array of string arguments to pass to the JVM when running the application */ Iterable<String> getApplicationDefaultJvmArgs(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy
it.setStandardOutput(baos); """ } private String getJavaJavaexecSpec() { return """ it.getMainClass().set("${TestJavaMain.class.name}"); it.classpath("${TextUtil.escapeString(TestJavaMain.classLocation)}"); it.args("Hello", "from", "Java"); it.setStandardOutput(baos);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/JavaExec.java
jvmArguments = objectFactory.listProperty(String.class).convention(jvmArgumentsConvention); javaExecSpec.getMainClass().convention(mainClass); javaExecSpec.getMainModule().convention(mainModule); javaExecSpec.getModularity().getInferModulePath().convention(modularity.getInferModulePath());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 19.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/worker/child/ApplicationClassesInSystemClassLoaderWorkerImplementationFactory.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 10:09:51 UTC 2024 - 9.7K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy
* Represents an application that runs on the JVM. */ @Restricted public interface HasJvmApplication { @Restricted Property<String> getMainClass(); @Nested ApplicationDependencies getDependencies(); @Configuring default void dependencies(Action<? super ApplicationDependencies> action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 11 07:05:10 UTC 2024 - 11.9K bytes - Viewed (0)