- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for groovyTaskWithSingleOption (0.17 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/AbstractOptionIntegrationSpec.groovy
public void renderOptionValue() { System.out.println("Value of myProp: " + myProp); } } """ } String groovyTaskWithSingleOption(String optionType) { """ public class SampleTask extends DefaultTask { @Internal @Option(option = "myProp", description = "Configures command line option 'myProp'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 10 09:40:56 UTC 2023 - 8.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy
} def "can evaluate option value of type #optionType when #description for Groovy task on command line"() { given: buildFile << groovyTaskWithSingleOption(optionType) buildFile << sampleTask() when: run(['sample'] + options as String[]) then: outputContains("Value of myProp: $optionValue") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 28.4K bytes - Viewed (0)