- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for withConnector (0.33 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy
} void usingToolingConnection(File workingDir, Action<ProjectConnection> action) { def toolingApi = new ToolingApi(distribution, testDirectoryProvider) toolingApi.withConnector { it.forProjectDirectory(workingDir) } def systemPropertiesBeforeInvocation = new HashMap<String, Object>(System.getProperties()) try { toolingApi.withConnection {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/IncompatibilityCrossVersionSpec.groovy
buildPluginWith("3.2.1") assertWorks() } private void assertWorks() { // So we don't try to use a classpath distribution toolingApi.requireDaemons() withConnector { // TestKit builds that use debug will set this to true it.embedded(true) } // Run the build withConnection { c ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.8K bytes - Viewed (0) -
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) -
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)