- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for callFromBuildUsingExpression (0.5 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy
class SlowTask extends DefaultTask { private final String projectName = project.name @TaskAction def go() { ${server.callFromBuildUsingExpression("projectName")} } } subprojects { tasks.create('slow', SlowTask) } project(':a') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy
} def "projects are configured and models created in parallel when project scoped model is queried concurrently"() { withSomeToolingModelBuilderPluginInBuildSrc(""" ${server.callFromBuildUsingExpression("'model-' + project.name")} """) settingsFile << """ include("a") include("b") rootProject.name = "root" """ apply(testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.6K bytes - Viewed (0) -
subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy
@Override void onFinish(FinishEvent event) { if (event instanceof TaskFinishEvent) { ${server.callFromBuildUsingExpression("parameters.prefix.get() + event.descriptor.taskPath")} } else { throw new IllegalArgumentException() } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 13.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy
def finishEvent = project.name + "-finished" doFirst { ${barrier.callFromBuildUsingExpression('startEvent')} } doLast { ${barrier.callFromBuildUsingExpression('finishEvent')} } } } task otherBuild(type:GradleBuild) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 10.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceParallelExecutionIntegrationTest.groovy
""" buildFile << """ allprojects { task ping { def projectName = project.name doLast { ${blockingServer.callFromBuildUsingExpression("projectName")} } } } """ } @ToBeFixedForIsolatedProjects(because = "allprojects")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
*/ public String callFromBuild(String resource) { return callFromBuildUsingExpression("\"" + resource + "\""); } /** * Returns Java statements to get the given resource, using the given expression to calculate the resource to get. */ public String callFromBuildUsingExpression(String expression) { String uriExpression = "\"" + getUri() + "/\" + " + expression;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 46.1K bytes - Viewed (0)