- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for inferModulePath (0.41 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/execution/JavaModuleExecutionIntegrationTest.groovy
given: buildFile.text = buildFile.text.replace('java-library', 'application') buildFile << """ tasks.run.modularity.inferModulePath = false application { mainClass.set('consumer.MainModule') mainModule.set('consumer') } """ publishJavaModule('moda')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/impl/DefaultTestTaskPropertiesService.java
forkOptions.getWorkingDir(), executable, detectJavaVersion(executable), javaModuleDetector.inferClasspath(testIsModule, task.getClasspath()), javaModuleDetector.inferModulePath(testIsModule, task.getClasspath()), forkOptions.getAllJvmArgs(), DefaultProcessForkOptions.getActualEnvironment(forkOptions) ); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:16:16 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/test/JavaModuleBackboxTestExcutionIntegrationTest.groovy
} def "runs JUnit4 module test on classpath if module path inference is turned off"() { given: buildFile << """ tasks.test.modularity.inferModulePath = false dependencies { testImplementation 'junit:junit:4.13' } """ when: consumingModuleInfo('exports consumer') consumingModuleClass()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaBasePlugin.java
Provider<LibraryElements> libraryElements = compileJava.flatMap(x -> x.getModularity().getInferModulePath()) .map(inferModulePath -> { if (javaClasspathPackaging) { return LibraryElements.JAR; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 22:14:22 UTC 2023 - 28.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/compile/JavaCompile.java
spec.setTempDir(getTemporaryDir()); spec.setCompileClasspath(ImmutableList.copyOf(javaModuleDetector.inferClasspath(isModule, getClasspath()))); spec.setModulePath(ImmutableList.copyOf(javaModuleDetector.inferModulePath(isModule, getClasspath()))); if (isModule && !isSourcepathUserDefined) { compileOptions.setSourcepath(getProjectLayout().files(sourcesRoots)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:33:35 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/javadoc/Javadoc.java
options.classpath(new ArrayList<>(javaModuleDetector.inferClasspath(isModule, getClasspath()).getFiles())); options.modulePath(new ArrayList<>(javaModuleDetector.inferModulePath(isModule, getClasspath()).getFiles())); if (options.getBootClasspath() != null && !options.getBootClasspath().isEmpty()) { // Added so JavaDoc has the same behavior as JavaCompile regarding the bootClasspath
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 13.6K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/tasks/CreateStartScripts.java
generator.setClasspath(getRelativePath(javaModuleDetector.inferClasspath(mainModule.isPresent(), getClasspath()))); generator.setModulePath(getRelativePath(javaModuleDetector.inferModulePath(mainModule.isPresent(), getClasspath()))); if (StringUtils.isEmpty(getExecutableDir())) { generator.setScriptRelPath(getUnixScript().getName()); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/java_library_plugin.adoc
Gradle will automatically put a Jar of your dependencies on the module path, instead of the classpath, if these three things are true: * `java.modularity.inferModulePath` is *not* turned off * We are actually building a module (as opposed to a traditional library) which we expressed by adding the `module-info.java` file.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 23.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc
<<intro_multi_project_builds.adoc#sec:executing_tasks_by_fully_qualified_name,fully qualified path to the task>>. ==== `modularity.inferModulePath` defaults to 'true' <<java_library_plugin.adoc#sec:java_library_modular,Compiling>>, <<java_testing.adoc#sec:java_testing_modular,testing>> and <<application_plugin.adoc#sec:application_modular,executing>>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 15:00:23 UTC 2024 - 44.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java
FileCollection classpath = javaModuleDetector.inferClasspath(testIsModule, stableClasspath); FileCollection modulePath = javaModuleDetector.inferModulePath(testIsModule, stableClasspath);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 42.6K bytes - Viewed (0)