Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for TAPI (0.03 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiExecution.groovy

            if (isClassloadedVersionCurrent()) {
                // Gradle current -> TAPI {source}
                this.gradle = packagedDistribution
                this.toolingApi = loadedDistribution
            } else {
                // TAPI {target} -> Gradle current
                this.gradle = loadedDistribution
                this.toolingApi = packagedDistribution
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/ToolingModelContract.java

    import java.lang.annotation.Target;
    
    /**
     * Annotation used to mark TAPI model interfaces. On the client side such interfaces
     * are instantiated via Java dynamic proxies, and we use this annotation when we want
     * these proxies to have richer behaviour than just implementing the base interface.
     * <p>
     * For example. Let's say the TAPI model interface is {@code Animal}, but which also
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 08:48:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TapiAgentInstrumentationCrossVersionSpec.groovy

        private String buildOutput
    
        def setup() {
            // TODO(mlopatkin) Figure a way to have agent-based instrumentation in the embedded TAPI mode.
            toolingApi.requireDaemons()
        }
    
        def "agent is enabled in TAPI by default"() {
            withDumpAgentStatusTask()
    
            when:
            runDumpTaskWithTapi()
    
            then:
            agentWasApplied()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. architecture/runtimes.md

            
            gradle["Gradle CLI client"]
        
            gradlew["Gradlew CLI client"]
        
            subgraph IDE    
                tapi["Tooling API client"]
            end
            
            daemon["Gradle daemon"]
            gradle --> daemon
            gradlew --> daemon
            tapi --> daemon
            
            worker["Worker process"]
            daemon --> worker
    
            worker2["Worker process"]
            daemon --> worker2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 06:42:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r33/BuildActionCompositeBuildCrossVersionSpec.groovy

    import org.gradle.integtests.tooling.fixture.ToolingApiSpecification
    import spock.lang.Issue
    
    /**
     * Tests for the tooling API, which check fetching models and running actions using different
     * combinations of versions of the TAPI and Gradle.
     *
     * Support for clients using a tooling API version older than 3.0 was removed in Gradle 5.0, so
     * there is a class-level lower bound for both versions.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/utils.kt

        else -> sameType(valueType, isAssignableTo)
    }
    
    
    /**
     * Can't check for equality: TAPI proxies are not equal to the original implementations.
     * TODO: maybe "reify" the TAPI proxies to ensure equality?
     */
    private
    fun sameType(left: DataType, right: DataType) = when (left) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/core-runtime/client-services/build.gradle.kts

        testImplementation(testFixtures(project(":core"))) {
            because("ConcurrentSpecification")
        }
        testImplementation(project(":tooling-api")) {
            because("Unit tests verify serialization works with TAPI types")
        }
        testImplementation(testFixtures(project(":daemon-protocol")))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r63/DistributionChecksumCrossVersionSpec.groovy

        // Newer clients no longer kill the JVM when a distribution is invalid.
        @TargetGradleVersion(">=3.0 <6.3")
        def "invalid Gradle distribution does not kill the TAPI client with older Gradle versions"() {
            given:
            toolingApi.requireDaemons()
            toolingApi.requireIsolatedUserHome()
            withConnection { connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelCrossVersionSpec.groovy

            mavenRepo.module("org.example", "example-lib", "1.0").publish()
            localMaven = "maven { url '${mavenRepo.uri}' }"
        }
    
        // TODO (donat) add more coverage after all classpath entry types are exposed via the TAPI
    
        def "respects manipulation done in the eclipse.classpath.whenMerged closure"() {
            setup:
            settingsFile << 'rootProject.name = "root"'
            buildFile <<
            """apply plugin: 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt

                "gradleEnvironmentVariables" to mapOf("myEnvVar" to "envValue")
            )
        }
    
        @Test
        fun `report file fatality on TAPI failure`() {
            // thus disabling syntax highlighting
    
            val editedScript = withBuildScript("")
    
            val wrongEnv = arrayOf("gradleHome" to existing("absent"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:12:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top