- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for compileTask (0.3 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/documentation/docs/src/snippets/cpp/basic/groovy/build.gradle
// Define a preprocessor macro for every binary compileTask.get().macros.put("NDEBUG", null) // Define a compiler options compileTask.get().compilerArgs.add '-W3' // Define toolchain-specific compiler options if (toolChain in [ Gcc, Clang ]) { compileTask.get().compilerArgs.addAll(['-O2', '-fno-access-control']) } else if (toolChain in VisualCpp) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/cpp/basic/kotlin/build.gradle.kts
compileTask.get().macros.put("NDEBUG", null) // Define a compiler options compileTask.get().compilerArgs.add("-W3") // Define toolchain-specific compiler options when (toolChain) { is Gcc, is Clang -> compileTask.get().compilerArgs.addAll(listOf("-O2", "-fno-access-control")) is VisualCpp -> compileTask.get().compilerArgs.add("/Zi") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0)