- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 123 for MyTask (0.14 sec)
-
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslAssignmentIntegrationTest.kt
fileOutput = objects.fileProperty() as Provider<RegularFile> fileOutput = file("build/myTask/hello.txt") fileOutput = provider { file("build/myTask/hello.txt") } } """.trimIndent() ) // When, Then build("myTask") } private fun withBuildScriptWithAssignment(): File {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 15:32:52 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy
warning(unsupportedValueTypeConfig { type('MyTask').property('direct').propertyType('URL') }, "validation_problems", "unsupported_value_type"), warning(unsupportedValueTypeConfig { type('MyTask').property('listPropertyInput').propertyType('ListProperty<URL>') }, "validation_problems", "unsupported_value_type"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 40K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionIntegrationTest.groovy
${defineTestException()} tasks.register('myTask') { doLast { throw new TestResolutionProviderException('resolution1') } } """ when: fails 'myTask' then: failure.assertHasDescription("Execution failed for task ':myTask'.") .assertHasResolution('resolution1') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/FileCollectionConventionMappingIntegrationTest.groovy
} tasks.register("mytask", MyTask) { conventionMapping.map("foo") { bar } bar.setFrom("file1", "file2") } """ expect: succeeds 'mytask' } def "convention mapping works with FileCollection in a ConventionTask"() { buildFile << """ abstract class MyTask extends org.gradle.api.internal.ConventionTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 27 20:10:55 UTC 2024 - 2.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskFailureIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 9.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskCreationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jul 13 09:05:07 UTC 2021 - 9.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/UntrackedTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 23 08:05:53 UTC 2023 - 16.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy
assert foo.get() == "foobar" } } tasks.register("mytask", MyTask) { conventionMapping.map("foo", { providerFactory.provider { "foobar" } }) other.convention("other") } """ expect: runAndFail 'mytask' expectDocumentedFailure() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 12:27:37 UTC 2024 - 7.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0)