- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 542 for buildFile (0.14 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptErrorIntegrationTest.groovy
failure.assertHasDescription("Could not compile build file '${buildFile}'.") .assertThatCause(containsString("build file '$buildFile': 3: unable to resolve class org.gradle.unknown.Unknown")) .assertHasFileName("Build file '$buildFile'") .assertHasLineNumber(3) } def "produces reasonable error message when buildFile evaluation fails with exception"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 17:01:37 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy
file("run.sh") << '''#!/bin/sh # convert paths into absolute Unix-like paths BUILD_FILE=$(cygpath --absolute --unix build.gradle) SRC_DIR=$(cygpath --absolute --unix src) # pass them to the generated start script build/install/sample/bin/sample "$BUILD_FILE" "$SRC_DIR" ''' buildFile << """ task execStartScript(type: Exec) { commandLine 'cmd.exe', '/d', '/c', 'sh', 'run.sh' } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 23.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy
buildFile << """ tasks.help { t -> assert t instanceof $Help.name assert delegate instanceof $Help.name description = "this is task \$name" } assert tasks.help.description == "this is task help" """ expect: succeeds() } def "reports read unknown property from configure closure"() { buildFile << """ tasks.help { println unknown
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy
buildFile << taskWithNestedInput() buildFile << namedBeanClass() buildFile << """ myTask.nested = [new NamedBean('name', 'value1'), new NamedBean('name', 'value2')] """ expect: succeeds "myTask" } def "nested Provider is unpacked"() { buildFile << taskWithNestedInput()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 42.6K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy
class TaskExecutionIntegrationTest extends AbstractIntegrationSpec implements TasksWithInputsAndOutputs { @UnsupportedWithConfigurationCache def taskCanAccessTaskGraph() { buildFile << """ boolean notified = false task a(dependsOn: 'b') { doLast { task -> assert notified assert gradle.taskGraph.hasTask(task)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 25.7K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy
given: buildA.buildFile << """ dependencies { implementation "org.test:buildB:1.0" } """ buildB.buildFile << """ dependencies { implementation "org.test:buildC:1.0" } """ def buildC = singleProjectBuild("buildC") { buildFile << """ apply plugin: 'java'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 19:37:49 UTC 2024 - 25.7K bytes - Viewed (0) -
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyMultiprojectIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 8.1K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/ClassLoaderLeakAvoidanceSoakTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 06:04:19 UTC 2024 - 21.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy
given: file("input.txt") << "data" buildFile << adHocTaskWithInputs() expect: taskIsNotCached ':adHocTask' } def "ad hoc tasks are cached when explicitly requested"() { given: file("input.txt") << "data" buildFile << adHocTaskWithInputs() buildFile << 'adHocTask { outputs.cacheIf { true } }' expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 30.6K bytes - Viewed (0)