Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 86 for toolingapi (0.16 sec)

  1. platforms/documentation/docs/src/docs/userguide/reference/third_party_integration.adoc

    To use the Tooling API, add the following repository and dependency declarations to your build script:
    
    .Using the tooling API
    ====
    include::sample[dir="snippets/toolingApi/runBuild/kotlin",files="build.gradle.kts[tags=use-tooling-api]"]
    include::sample[dir="snippets/toolingApi/runBuild/groovy",files="build.gradle[tags=use-tooling-api]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTaskExecutionCrossVersionSpec.groovy

            buildFile << '''
                allprojects {
                    tasks.register('foo')
                }
            '''
            file('sub1/sub2').mkdirs()
    
            when:
            launchTestWithTestFilter(toolingApi.connector().forProjectDirectory(projectDir.file('sub1'))) {
                it.forTasks('foo')
            }
    
            then:
            !taskExecuted(':foo')
            taskExecuted(':sub1:foo')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/doc/c4/C4_3_Component.puml

                Rel(pluginPlugin, pluginPrecompiled, "Configures")
                Rel_Neighbor(pluginPrecompiled, pluginDevPlugin, "Applies", "and configures")
            }
    
    
            Container_Boundary(tapiBuilder, "IDE ToolingAPI Models") {
    
                Component(tapiModels, "TAPI Models", "classpath, sourcepath, implicit imports, user reports")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 17:46:30 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/BuildActionCrossVersionSpec.groovy

            when:
            def nullModel = withConnection { it.action(new NullAction()).run() }
    
            then:
            nullModel == null
        }
    
        def "action classes are reused in daemon"() {
            toolingApi.requireIsolatedDaemons()
    
            expect:
            def result1 = withConnection { it.action(new CounterAction()).run() }
            def result2 = withConnection { it.action(new CounterAction()).run() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/CrossVersionToolingApiSpecificationRetryTest.groovy

    class CrossVersionToolingApiSpecificationRetryTest extends ToolingApiSpecification {
    
        def setup() {
            //these meta tests mess with the daemon log: do not interfere with other tests when running in parallel
            toolingApi.requireIsolatedDaemons()
        }
    
        def iteration = 0
    
        def "does not retry if NPE is thrown in daemon registry in >=1.8"() {
            given:
            iteration++
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/CancellationCrossVersionSpec.groovy

            }
    
            then:
            noExceptionThrown()
        }
    
        def "can cancel build through forced stop"() {
            // in-process call does not support forced stop
            toolingApi.requireDaemons()
            buildFile << """
    task hang {
        doLast {
            ${server.callFromBuild("waiting")}
        }
    }
    """
            def cancel = GradleConnector.newCancellationTokenSource()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildProgressCrossVersionSpec.groovy

        }
    
        @Issue("gradle/gradle#1641")
        @TargetGradleVersion(">=3.5 <4.0")
        def "generates download events during maven publish"() {
            given:
            toolingApi.requireIsolatedUserHome()
            if (targetDist.version.version == "3.5-rc-1") {
                return
            }
            def module = mavenHttpRepo.module('group', 'publish', '1')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/ResolveArtifactsProgressCrossVersionSpec.groovy

        private RepositoryHttpServer server
    
        def setup() {
            server = new RepositoryHttpServer(temporaryFolder, targetDist.version.version)
            server.before()
            toolingApi.requireIsolatedUserHome()
        }
    
        def cleanup() {
            server.after()
        }
    
        private String expectedDisplayName(String name, String extension, String version) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

            PerformanceTestJvmOptions.normalizeGradleJvmOptions(useDaemon, PerformanceTestJvmOptions.normalizeJvmOptions(this.gradleOpts))
        }
    
        def <T extends LongRunningOperation> ToolingApiAction<T> toolingApi(String displayName, Function<ProjectConnection, T> initialAction) {
            useToolingApi = true
            def tapiAction = new ToolingApiAction<T>(displayName, initialAction)
            this.buildAction = tapiAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DependencyArtifactDownloadProgressEventCrossVersionTest.groovy

        }
    
        @TargetGradleVersion('>=7.3')
        def "generates success event for failing first attempt to get dependency"() {
            toolingApi.requireIsolatedUserHome()
    
            def projectFModuleMissing = mavenHttpRepo.module('group', 'projectF', '2.0')
            projectFModuleMissing.missing()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top