Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for compileTask (0.24 sec)

  1. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaBasePlugin.java

                TaskProvider<JavaCompile> compileTask = createCompileJavaTask(sourceSet, sourceSet.getJava(), project);
                createClassesTask(sourceSet, project);
    
                configureLibraryElements(compileTask, sourceSet, configurations, objectFactory);
                configureTargetPlatform(compileTask, sourceSet, configurations);
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 22:14:22 UTC 2023
    - 28.3K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/main/java/org/gradle/api/plugins/scala/ScalaBasePlugin.java

            });
            JvmPluginsHelper.configureOutputDirectoryForSourceSet(sourceSet, scalaSource, project, compileTask, compileTask.map(AbstractScalaCompile::getOptions));
    
            project.getTasks().named(sourceSet.getClassesTaskName(), task -> task.dependsOn(compileTask));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 10:39:12 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/plugins/jvm/internal/JvmLanguageUtilities.java

         *
         * @param configuration the configuration to configure
         * @param compileTask the compile task which serves as reference for inference
         */
        <COMPILE extends AbstractCompile & HasCompileOptions> void useDefaultTargetPlatformInference(Configuration configuration, TaskProvider<COMPILE> compileTask);
    
        /**
         * Registers a new source directory for a source set, assuming that it will be compiled by
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:44:05 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryCppInteroperabilityIntegrationTest.groovy

                    library.linkage = [Linkage.${linkage}]
                    library {
                        linkage = [Linkage.${linkage}]
                        binaries.configureEach {
                            compileTask.get().positionIndependentCode = true
                        }
                    }
                }
            """
            lib.writeToProject(file("hello"))
            cppGreeter.asLib().writeToProject(file("cppGreeter"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIncrementalCompileIntegrationTest.groovy

            when:
            otherHeaderFile << """
                // Some extra content
    """
            and:
            run "mainExecutable"
    
            then:
            executedAndNotSkipped compileTask
    
            and:
            outputs.recompiledFile sourceFile
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            and:
            buildFile << """
                apply plugin: 'swift-application'
    
                application.binaries.configureEach {
                    compileTask.get().objectFileDir = layout.buildDirectory.dir("object-files")
                    compileTask.get().moduleFile = layout.buildDirectory.file("some-app.swiftmodule")
                    linkTask.get().linkedFile = layout.buildDirectory.file("exe/some-app.exe")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/AbstractVisualStudioProjectIntegrationTest.groovy

            makeSingleProject()
            buildFile << """
                ${componentUnderTestDsl}.binaries.configureEach {
                    if (optimized) {
                        compileTask.get().compilerArgs.add('/std:c++17')
                    } else {
                        compileTask.get().compilerArgs.add('/std:c++14')
                    }
                }
            """
    
            when:
            succeeds "visualStudio"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithBothLinkagePublishingIntegrationTest.groovy

                }
    
                library {
                    linkage = [Linkage.STATIC, Linkage.SHARED]
                    binaries.configureEach {
                        if (optimized) {
                            compileTask.get().macros(WITH_FEATURE: "true")
                        }
                    }
                }
            """
            app.greeterLib.writeToProject(file(producer))
    
            executer.inDirectory(producer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithStaticLinkagePublishingIntegrationTest.groovy

                }
    
                library {
                    linkage = [Linkage.STATIC]
                    binaries.configureEach {
                        if (optimized) {
                            compileTask.get().macros(WITH_FEATURE: "true")
                        }
                    }
                }
            """
            app.greeterLib.writeToProject(file(producer))
    
            executer.inDirectory(producer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileWithDiscoveredInputsIntegrationTest.groovy

                            }
                        }
                    }
                }
            }
        }
    """
            and:
            run "mainExecutable"
    
            then:
            skipped compileTask
    
            and:
            outputs.noneRecompiled()
    
            where:
            testCase                       | headerDirs
            "extra header dir after"       | '"src/main/headers", "src/additional-headers"'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top