Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 179 for computation (0.19 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r87/ProblemProgressEventCrossVersionTest.groovy

            then:
            thrown(BuildException)
            listener.problems.size() == 0
        }
    
        @ToolingApiVersion(">=8.7 <8.9")
        @TargetGradleVersion("=8.7")
        def "Can serialize groovy compilation error"() {
            buildFile """
                tasks.register("foo) {
            """
    
            given:
            def listener = new ProblemProgressListener()
    
            when:
            withConnection {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JdkJavaCompiler.java

            return false;
        }
    
        private void buildProblemFrom(RuntimeException ex, ProblemSpec spec) {
            spec.severity(Severity.ERROR);
            spec.id("initialization-failed", "Java compilation initialization error", GradleCoreProblemGroup.compilation().java());
            spec.details(ex.getLocalizedMessage());
            spec.withException(ex);
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 14:50:33 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/build.gradle.kts

    plugins {
        id("gradlebuild.distribution.api-java")
    }
    
    description = "Plugins and integration with code quality (Checkstyle, PMD, CodeNarc)"
    
    sourceSets {
        main {
            // Incremental Groovy joint-compilation doesn't work with the Error Prone annotation processor
            errorprone.enabled = false
        }
    }
    
    dependencies {
        api(projects.stdlibJavaExtensions)
        api(project(":base-services"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/build.gradle.kts

    plugins {
        id("gradlebuild.internal.java")
    }
    
    description = "Collection of test fixtures for performance tests, internal use only"
    
    sourceSets {
        main {
            // Incremental Groovy joint-compilation doesn't work with the Error Prone annotation processor
            errorprone.enabled = false
        }
    }
    
    val reports by configurations.creating
    val flamegraph by configurations.creating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

         * {@code [varInitializer, processCreator, expectedPwdSuffix, expectedEnvVar]}.
         * @return the list of test cases
         */
        abstract def testCases()
    
        /**
         * Produces a list of indy compilation modes. Each test case from {@link #testCases()} will run in every mode from the returned list.
         * @return the list of indy modes
         */
        def indyModes() {
            return [true, false]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslRegressionsTest.kt

                    }
                }
            """)
    
            val result = buildAndFail("classes")
    
            result.assertHasFailure("Execution failed for task ':compileKotlin'.") {
                it.assertHasCause("Compilation error. See log for more details")
            }
            result.assertHasErrorOutput("src/main/kotlin/code.kt:7:25 Unresolved reference. None of the following candidates is applicable because of receiver type mismatch")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 07:57:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            throw ((InternalProblems) getProblemsService()).getInternalReporter().throwing(builder -> builder
                .id(TextUtil.screamingSnakeToKebabCase("compilation-failed"), "Groovy DSL script compilation problem", GradleCoreProblemGroup.compilation().groovyDsl())
                .contextualLabel(message)
                .lineInFileLocation(source.getFileName(), lineNumber)
                .severity(Severity.ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ProblemProgressEventCrossVersionTest.groovy

            ''                         | null            | ''                                          | null
        }
    
        def "Can serialize groovy compilation error"() {
            buildFile """
                tasks.register("foo) {
            """
    
            given:
            def listener = new ProblemProgressListener()
    
            when:
            withConnection {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

            assertToolchainUsages(events1, jdkMetadata1, "JavaLauncher")
            assertToolchainUsages(events2, jdkMetadata2, "JavaLauncher")
        }
    
        def "emits toolchain usages for compilation that configures #option via fork options"() {
            JvmInstallationMetadata curJdk = AvailableJavaHomes.getJvmInstallationMetadata(Jvm.current())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/scripts/BuildScriptCompilationAndInstrumentation.java

    import javax.annotation.OverridingMethodsMustInvokeSuper;
    import java.io.File;
    import java.util.Map;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A base class that represents a work for compilation for Kotlin and Groovy build scripts.
     * This work unit first compiles the build script to a directory, and then instruments the directory for configuration cache and returns instrumented output.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top