- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for withBuild (0.14 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/DisabledTaskExecutionOnIncludedBuildsCrossVersionSpec.groovy
def includedSelector = invocations[0].taskSelectors[0] when: withBuild { BuildLauncher launcher -> launcher.forLaunchables(includedSelector) } then: thrown(BuildException) when: withBuild { BuildLauncher launcher -> launcher.forLaunchables(includedTask) } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r66/CommandLineOptionsCrossVersionSpec.groovy
when: file("gradle.properties") << "org.gradle.workers.max=12" def result = withBuild() then: result.standardOutput.contains("max workers: 12") } def "can specify options using command-line arguments"() { when: def result = withBuild { BuildLauncher launcher -> launcher.withArguments("--max-workers", "12") } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/BuildInvocationsCrossVersionSpec.groovy
TaskSelector selectorT2 = model.taskSelectors.find { it.name == 't2' } def result = withBuild { BuildLauncher it -> it.forLaunchables(selectorT1, selectorT2) } then: result.result.assertTasksExecutedInOrder(':t1', ':b:c:t1', ':b:t2', ':b:c:t2') when: result = withBuild { BuildLauncher it -> it.forLaunchables(selectorT2, selectorT1) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r15/CombiningCommandLineArgumentsCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java
} model = model.withBuild(build); } Reporting reporting = model.getReporting(); if (reporting != null) { expandReport(reporting.getPlugins()); } return model.withBuild(build); } private List<Plugin> expandPlugin(List<Plugin> oldPlugins) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy
file("build.gradle") << """ logger.debug("debugging stuff") logger.info("infoing stuff") """ when: String debug = withBuild { it.withArguments('-d') }.standardOutput and: String info = withBuild { it.withArguments('-i') }.standardOutput then: debug.count("debugging stuff") == 1 debug.count("infoing stuff") == 1 and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildLookupIntegrationTest.groovy
assert gradle.includedBuilds.empty """) includeBuild(buildB) def buildC = singleProjectBuild("buildC") { } validationTask(buildA.buildFile, "withBuild", """ assert gradle.includedBuild("buildB").name == "buildB" assert gradle.includedBuild("buildC").name == "buildC" assert gradle.includedBuild("buildC").projectDir == file('${buildC.toURI()}')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 06 08:15:28 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r15/ToolingApiConfigurationOnDemandCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2K bytes - Viewed (0) -
maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java
Model m = model.withPreserveModelVersion(true); assertEquals("4.1.0", new MavenModelVersion().getModelVersion(m)); } @Test void testV4ModelPriority() { Model m = model.withBuild(Build.newInstance() .withPlugins(Collections.singleton(Plugin.newInstance() .withExecutions(Collections.singleton(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Oct 16 13:44:33 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TapiAgentInstrumentationCrossVersionSpec.groovy
when: runDumpTaskWithTapi() then: agentWasNotApplied() } private void runDumpTaskWithTapi() { withConnection { buildOutput = withBuild { it.forTasks("hello") }.stdout.toString() } } private void agentWasApplied() { agentStatusWas(true) } private void agentWasNotApplied() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 3K bytes - Viewed (0)