Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for compileTask (0.21 sec)

  1. 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)
  2. 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)
  3. platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r52/CppModelCrossVersionSpec.groovy

            debugX86Binary.compilationDetails.compileWorkingDir == projectDir.file("build/obj/main/debug/x86")
            debugX86Binary.compilationDetails.compileTask.path == ":compileDebugX86Cpp"
            debugX86Binary.compilationDetails.compileTask.name == "compileDebugX86Cpp"
            debugX86Binary.linkageDetails.outputLocation == toolchain.executable(file("build/exe/main/debug/x86/app")).file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

        }
    
        def "can disable incremental compilation after failure and forces full recompilation"() {
            given:
            def compileTask = language == CompiledLanguage.GROOVY ? "GroovyCompile" : "JavaCompile"
            buildFile << """
            tasks.withType($compileTask) {
                options.incremental = true
                options.incrementalAfterFailure = false
            }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

            and:
            buildFile << """
                apply plugin: 'swift-library'
                library.binaries.getByName('mainDebug').configure {
                    compileTask.get().objectFileDir = layout.buildDirectory.dir("object-files")
                    compileTask.get().moduleFile = layout.buildDirectory.file("some-lib.swiftmodule")
                    linkTask.get().linkedFile = layout.buildDirectory.file("some-lib/main.bin")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

                    application.binaries.get { it.optimized }.configure {
                        compileTask.get().macros(WITH_FEATURE: "true")
                    }
                }
                project(':hello') {
                    apply plugin: 'cpp-library'
                    library.binaries.get { it.optimized }.configure {
                        compileTask.get().macros(WITH_FEATURE: "true")
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginTest.groovy

            setupProjectWithToolchain(someJdk.javaVersion)
    
            when:
            project.sourceSets.create('custom')
    
            then:
            def compileTask = project.tasks.named("compileCustomJava", JavaCompile).get()
            def configuredToolchain = compileTask.javaCompiler.get().javaToolchain
            configuredToolchain.javaVersion.toString().contains(someJdk.javaVersion.getMajorVersion())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

                version = '1.2'
                publishing {
                    repositories { maven { url '${repoDir.toURI()}' } }
                }
    
                library.binaries.get { it.optimized }.configure {
                    compileTask.get().macros(WITH_FEATURE: "true")
                }
    
            """
            app.greeterLib.writeToProject(file(producer))
    
            executer.inDirectory(producer)
            run('publish')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top