Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for gradleProject (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

    import org.gradle.api.Plugin
    import org.gradle.api.Project
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.server.http.BlockingHttpServer
    import org.gradle.tooling.model.GradleProject
    import org.junit.Rule
    
    class IsolatedProjectsToolingApiParallelConfigurationIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

            setup:
            def connector = toolingApi.connector()
            ProjectConnection connection = connector.connect()
            connection.getModel(GradleProject)
            connector.disconnect()
    
            when:
            connection.getModel(GradleProject)
    
            then:
            def e = thrown(RuntimeException)
            e.message ==~ /Cannot use .* as it has been stopped./
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/DisabledTaskExecutionOnIncludedBuildsCrossVersionSpec.groovy

    class DisabledTaskExecutionOnIncludedBuildsCrossVersionSpec extends ToolingApiSpecification {
    
        @TargetGradleVersion('>=3.3 <6.8')
        def "Can't launch tasks from included builds via launchables obtained from GradleProject model"() {
            setup:
            singleProjectBuildInRootFolder("root") {
                settingsFile << """
                    includeBuild 'includedBuild'
                """
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r211/ToolingApiEclipseModelCrossVersionSpec.groovy

            then:
            rootProject.javaSourceSettings.jdk != null
            rootProject.javaSourceSettings.jdk.javaVersion == JavaVersion.current()
            rootProject.javaSourceSettings.jdk.javaHome.toString() == rootProject.gradleProject.description
        }
    
        def "target bytecode level respects explicit targetCompatibility configuration"() {
            given:
            buildFile << """
            apply plugin:'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/BuildActionCrossVersionSpec.groovy

            when:
            CustomModel customModel = withConnection { it.action(new FetchCustomModel()).run() }
    
            then:
            customModel.gradle.name == "hello-world"
            customModel.eclipse.gradleProject.name == "hello-world"
    
            when:
            IdeaProject ideaModel = withConnection { it.action(new FetchIdeaModel()).run() }
    
            then:
            ideaModel.name == "hello-world"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy

         */
        Set<String> getRootProjectImplicitSelectors() {
            return rootProjectImplicitTasks
        }
    
        /**
         * Returns the set of implicit tasks returned by GradleProject.getTasks()
         */
        Set<String> getRootProjectImplicitTasksForGradleProjectModel() {
            rootProjectImplicitTasks
        }
    
        void assertHasBuildSuccessfulLogging() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

                [{ it.javaLanguageSettings }, { a, e -> checkLanguageSettings(a, e) }],
                { it.jdkName },
                [{ it.contentRoots }, { a, e -> checkContentRoot(a, e) }],
                [{ it.gradleProject }, { a, e -> checkGradleProject(a, e) }],
                { it.project.languageLevel.level }, // shallow check to avoid infinite recursion
                { it.compilerOutput.inheritOutputDirs },
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top