Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withConnector (0.39 sec)

  1. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy

            server.expect(server.get("/custom-dist.zip").expectUserAgent(matchesNameAndVersion("Gradle Tooling API", GradleVersion.current().getVersion())).sendFile(distribution.binDistribution))
    
            and:
            toolingApi.withConnector {
                it.useDistribution(URI.create("http://localhost:${server.port}/custom-dist.zip"))
            }
    
            when:
            toolingApi.withConnection { connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy

                }
            }"""
            otherVersion.binDistribution.makeReadable()
            executer.withTasks('wrapper').run()
    
            when:
            toolingApi.withConnector { connector ->
                connector.useBuildDistribution()
            }
            toolingApi.withConnection { connection -> connection.newBuild().forTasks('check').run() }
    
            then:
            notThrown(Throwable)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy

            new BuildTestFixture(projectDir).withBuildInRootDir().multiProjectBuild(projectName, subprojects, cl)
        }
    
        void withConnector(@DelegatesTo(GradleConnector) @ClosureParams(value = SimpleType, options = ["org.gradle.tooling.GradleConnector"]) Closure cl) {
            try {
                toolingApi.withConnector(cl)
            } catch (GradleConnectionException e) {
                caughtGradleConnectionException = e
                throw e
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m3/ToolingApiEclipseModelCrossVersionSpec.groovy

                include "child1", "child2", "child1:grandChild1"
                rootProject.name = 'root'
    '''
            projectDir.file('child1').mkdirs()
    
            when:
            toolingApi.withConnector { connector ->
                connector.searchUpwards(true)
                connector.forProjectDirectory(projectDir.file('child1'))
            }
            EclipseProject child = loadToolingModel(EclipseProject)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

        void requireDaemons() {
            requiresDaemon = true
        }
    
        DaemonsFixture getDaemons() {
            return DaemonLogsAnalyzer.newAnalyzer(getDaemonBaseDir(), dist.version.version)
        }
    
        void withConnector(@DelegatesTo(GradleConnector) Closure cl) {
            connectorConfigurers << cl
        }
    
        def <T> T withConnection(@DelegatesTo(ProjectConnection) Closure<T> cl) {
            def connector = connector()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top