Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for inferModulePath (0.39 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

            file("impl/build.gradle") << """
                def layout = project.layout
                tasks.compileJava {
                    modularity.inferModulePath = $inferModulePath
                    options.compilerArgs.addAll($compileArgs)
                    doFirst {
                        $doFirst
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top