Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for compileTask (0.15 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftCachingIntegrationTest.groovy

            def upstreamCompileTasks = [compileTask(':hello', buildType), compileTask(':log', buildType)] as String[]
            setupProject(originalLocation)
            setupProject(newLocation)
    
            when:
            inDirectory(originalLocation)
            withBuildCache().run compileTask(buildType), installTask(buildType)
    
            then:
            executedAndNotSkipped compileTask(buildType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmLanguageUtilities.java

            assert !compileTasks.isEmpty();
    
            if (!configuration.isCanBeConsumed() && java.getAutoTargetJvmDisabled()) {
                return Integer.MAX_VALUE;
            }
    
            return compileTasks.stream().map(provider -> {
                COMPILE compileTask = provider.get();
                if (compileTask.getOptions().getRelease().isPresent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:47:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy

                    privateHeaders.from = ['include']
                    binaries.configureEach {
                        compileTask.get().includes.from("other")
                        compileTask.get().compilerArgs.add("--compile=\$name")
                        compileTask.get().macros = [VARIANT: name]
                        linkTask.get().linkerArgs.add("--link=\$name")
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmLanguageSourceDirectoryBuilder.java

                project.getTasks().register("compile" + StringUtils.capitalize(name), JavaCompile.class, compileTask -> {
                    compileTask.source(sourceDirectory);
                    compileTask.setClasspath(sourceSet.getCompileClasspath());
                    compilerConfiguration.execute(compileTask);
                });
            return includeInAllJava().compiledBy(t);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:44:05 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. platforms/native/tooling-native/src/main/java/org/gradle/language/cpp/internal/tooling/CppModelBuilder.java

        }
    
        private List<DefaultMacroDirective> macroDefines(CppCompile compileTask) {
            if (compileTask.getMacros().isEmpty()) {
                return Collections.emptyList();
            }
            List<DefaultMacroDirective> macros = new ArrayList<DefaultMacroDirective>(compileTask.getMacros().size());
            for (Map.Entry<String, String> entry : compileTask.getMacros().entrySet()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileLineEndingSensitivityIntegrationTest.groovy

            succeeds compileTask
    
            then:
            skipped compileTask
        }
    
        def "java compile is not sensitive to line endings during build cache key calculation"() {
            writeJavaSourceWithUnixLineEndings()
    
            when:
            executer.withBuildCacheEnabled()
            succeeds compileTask
    
            then:
            executedAndNotSkipped compileTask
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

                #include MACRO
    """
    
            and:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            run "mainExecutable"
    
            then:
            executed compileTask
            skipped compileTask
        }
    
        @ToBeFixedForConfigurationCache
        def "recompiles when included header has the same name as a directory and the directory becomes a file"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  8. platforms/native/tooling-native/src/main/java/org/gradle/language/cpp/internal/tooling/DefaultCompilationDetails.java

        public DefaultCompilationDetails(LaunchableGradleTask compileTask, File compilerExe, File workingDir, List<DefaultSourceFile> sources, List<File> headerDirs, List<File> systemHeaderDirs, List<File> userHeaderDirs, List<DefaultMacroDirective> macroDefines, List<String> additionalArgs) {
            this.compileTask = compileTask;
            this.compilerExe = compilerExe;
            this.workingDir = workingDir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/objectivec/ObjectiveCLanguageIncrementalCompileIntegrationTest.groovy

            then:
            executedAndNotSkipped compileTask
    
            and:
            outputs.recompiledFile sourceFile
    
            when: "Header that is NOT included is changed"
            notIncluded << """
                // Dummy header file
    """
            and:
            run "mainExecutable"
    
            then: "Source is still recompiled"
            executedAndNotSkipped compileTask
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/customModel/languageType/groovy/buildSrc/src/main/groovy/sample/markdown/MarkdownPlugin.groovy

                tasks.create(taskName, MarkdownHtmlCompile) { compileTask ->
                    compileTask.source = markdownSourceSet.source
                    compileTask.destinationDir = outputDir
                    compileTask.smartQuotes = markdownSourceSet.smartQuotes
                    compileTask.generateIndex = markdownSourceSet.generateIndex
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top