- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for RunBuildAction (0.2 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy
""" file("d/build.gradle") << """ plugins.apply(my.MyPlugin) """ when: executer.withArguments(ENABLE_CLI) def model = runBuildAction(new FetchCustomModelForEachProject()) then: model.size() == 4 model[0].message == "project :a classpath = 2" model[1].message == "project :b classpath = 1"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 19.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy
println("configuring root") """ } def "parameterized models are reused in the same build action"() { when: executer.withArguments(ENABLE_CLI) def models = runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"])) then: fixture.assertStateStored { projectConfigured(":buildSrc") buildModelCreated()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy
executer.withArguments(ENABLE_CLI) def model3 = runBuildAction(new FetchCustomModelForEachProject()) then: fixture.assertStateLoaded() and: model3.size() == 1 model3[0].message == "It works from project :" when: executer.withArguments(ENABLE_CLI) def model4 = runBuildAction(new FetchModelsMultipleTimesForEachProject()) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCoupledProjectsIntegrationTest.groovy
""" file("c/build.gradle") << """ plugins.apply(my.MyPlugin) """ when: executer.withArguments(ENABLE_CLI, WARN_PROBLEMS_CLI_OPT) def model = runBuildAction(new FetchCustomModelForEachProject()) then: model.size() == 3 model[0].message == "project a" model[1].message == "project b" model[2].message == "It works from project :c"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy
""" file("a/build.gradle") << """ plugins.apply(my.MyPlugin) """ when: executer.withArguments(ENABLE_CLI) def model = runBuildAction(new FetchCustomModelForEachProjectInTree()) then: model.size() == 2 model[0].message == "It works from project :" model[1].message == "It works from project :a" and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy
plugins.apply(my.MyPlugin) """ // Intentionally do not apply the plugin to 'b' file("b/build.gradle") << "" when: withIsolatedProjects() def model = runBuildAction(new FetchCustomModelForEachProject()) then: model.size() == 2 model[0].message == "It works from project :" model[1].message == "It works from project :a"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy
rootProject.name = 'included1' include("lib2") """ when: "fetching without Isolated Projects" def expectedProjectModel = runBuildAction(new FetchGradleProjectForTarget(":included1")) then: fixture.assertNoConfigurationCache() // Returned model is for root project even though the target is not the root
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy
server.expectConcurrent("model-root", "configure-a", "configure-b") server.expectConcurrent("model-a", "model-b") when: executer.withArguments(ENABLE_CLI) def model = runBuildAction(new FetchCustomModelForEachProjectInParallel()) then: model.size() == 3 model[0].message == "It works from project :" model[1].message == "It works from project :a"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy
javaProject(file("b"), """ dependencies { implementation(project(':a')) } """) when: executer.withArguments(ENABLE_CLI) runBuildAction(new FetchCustomModelForEachProjectInParallel()) then: fixture.assertStateStored { projectsConfigured(":buildSrc", ":", ":a", ":b") buildModelCreated()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheToolingApiInvocationIntegrationTest.groovy
buildWithSomeToolingModelAndScriptLogStatement() when: def model = runBuildAction(new SomeToolingModelBuildAction()) then: model.message == "It works from project :" outputContains("script log statement") when: def model2 = runBuildAction(new SomeToolingModelBuildAction()) then: model2.message == "It works from project :"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.4K bytes - Viewed (0)