- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 104 for someTaskB (0.37 sec)
-
platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/groovy/build.gradle
@TaskAction void action() { fs.copy { // <3> from source into destination } } } tasks.register('someTask', MyCopyTask) { def projectDir = layout.projectDirectory source = projectDir.dir('source') destination = projectDir.dir(System.getProperty('someDestination')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 617 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/tests/sanityCheck.sample.conf
executable: gradle args: tasks # Flag is mandatory, otherwise the task someTask fails to configure because of null path (only in Kotlin though)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 176 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsGroovy/tests/load.out
Reusing configuration cache. > Task :someTask 1 problem was found reusing the configuration cache. - Build file 'build.gradle': line 6: invocation of 'Task.project' at execution time is unsupported. See https://docs.gradle.org/0.0.0/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution See the complete report at file:///home/user/gradle/samples/build/reports/configuration-cache/<hash>/configuration-cache-report.html
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 514 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/kotlin/build.gradle.kts
@TaskAction fun action() { fs.copy { from(source) into(destination) } } } // tag::fixed-reuse[] tasks.register<MyCopyTask>("someTask") { val projectDir = layout.projectDirectory source = projectDir.dir("source") destination = projectDir.dir(providers.systemProperty("someDestination")) // <1> }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 616 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/kotlin/build.gradle.kts
@TaskAction fun action() { fs.copy { // <3> from(source) into(destination) } } } tasks.register<MyCopyTask>("someTask") { val projectDir = layout.projectDirectory source = projectDir.dir("source") destination = projectDir.dir(System.getProperty("someDestination")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 626 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/groovy/build.gradle
@TaskAction void action() { fs.copy { from source into destination } } } // tag::fixed-reuse[] tasks.register('someTask', MyCopyTask) { def projectDir = layout.projectDirectory source = projectDir.dir('source') destination = projectDir.dir(providers.systemProperty('someDestination')) // <1> }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 607 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy
given: buildFile """ class SomeTask extends DefaultTask { @Input final ListProperty<String> prop = project.objects.listProperty(String) @OutputFile final Property<RegularFile> outputFile = project.objects.fileProperty() @TaskAction void go() { outputFile.get().asFile.text = prop.get() } } task thing(type: SomeTask) { prop = ["value 1"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:57:00 UTC 2024 - 15K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy
def setup() { expectReindentedValidationMessage() } def "can attach a calculated directory to task property"() { buildFile """ class SomeTask extends DefaultTask { @OutputDirectory final DirectoryProperty outputDir = project.objects.directoryProperty() @TaskAction void go() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 24.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/configurationCache/problemsGroovy/tests/fail.out
See the complete report at file:///home/user/gradle/samples/build/reports/configuration-cache/<hash>/configuration-cache-report.html > Invocation of 'Task.project' by task ':someTask' at execution time is unsupported. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 825 bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 17.3K bytes - Viewed (0)