Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for myProp (0.12 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy

                    private $optionType myProp;
    
                    @Option(option = "$optionName", description = "$optionDescription")
                    @Option(option = "myProp", description = "Configures command line option 'myProp'.")
                    public void setMyProp($optionType myProp) {
                        this.myProp = myProp;
                    }
    
                    @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy

            'List<Long>'     | ['--myProp=123', '--myProp=456']     | '[123, 456]'        | 'provided'
            'List<Long>'     | []                                   | 'null'              | 'not provided'
            'List<TestEnum>' | ['--myProp=OPT_2', '--myProp=OPT_3'] | '[OPT_2, OPT_3]'    | 'provided with upper case'
            'List<TestEnum>' | ['--myProp=opt_2', '--myProp=opt_3'] | '[OPT_2, OPT_3]'    | 'provided with lower case'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/initialization/PropertiesLoaderIntegrationTest.groovy

            given:
            buildFile << """
                task printProperty() {
                    def myProp = providers.gradleProperty('myProp')
                    doLast {
                        println "myProp=\${myProp.get()}"
                    }
                }
            """
    
            when:
            executer.withEnvironmentVars(ORG_GRADLE_PROJECT_myProp: 'fromEnv')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

        @Test
        @ToBeFixedForConfigurationCache
        void canHandleCircularModuleDependencies() {
            def artifact1 = mavenRepo.module("myGroup", "myArtifact1", "1.0").dependsOn("myGroup", "myArtifact2", "1.0").publish().artifactFile
            def artifact2 = mavenRepo.module("myGroup", "myArtifact2", "1.0").dependsOn("myGroup", "myArtifact1", "1.0").publish().artifactFile
    
            runEclipseTask """
    apply plugin: "java"
    apply plugin: "eclipse"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

                ${ruleBasedTasks()}
                model {
                    tasks {
                        create("t1") {
                            group = "mygroup"
                        }
                        create("t2", BrokenTask) {
                            group = "mygroup"
                        }
                    }
                }
            """
    
            then:
            createdTasksFor("t1") == [":t1"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/cli/src/main/java/org/gradle/cli/ProjectPropertiesCommandLineConverter.java

        protected String getPropertyOptionDetailed() {
            return "project-prop";
        }
    
        @Override
        protected String getPropertyOptionDescription() {
            return "Set project property for the build script (e.g. -Pmyprop=myvalue).";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 19:00:19 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

        void canHandleCircularModuleDependencies() {
            def repoDir = file("repo")
            def artifact1 = maven(repoDir).module("myGroup", "myArtifact1").dependsOnModules("myArtifact2").publish().artifactFile
            def artifact2 = maven(repoDir).module("myGroup", "myArtifact2").dependsOnModules("myArtifact1").publish().artifactFile
    
            runIdeaTask """
    apply plugin: "java"
    apply plugin: "idea"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/subresources_test.go

    	return []*apiextensionsv1.CustomResourceDefinition{
    		// CRD that uses per-version subresources
    		{
    			ObjectMeta: metav1.ObjectMeta{Name: "noxus.mygroup.example.com"},
    			Spec: apiextensionsv1.CustomResourceDefinitionSpec{
    				Group: "mygroup.example.com",
    				Names: apiextensionsv1.CustomResourceDefinitionNames{
    					Plural:     "noxus",
    					Singular:   "nonenglishnoxu",
    					Kind:       "WishIHadChosenNoxu",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:35:34 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/error_util_test.cc

      auto loc_filtered2 = FileLineColLoc::get(&context, id_filtered2, 0, 0);
      auto id_filtered3 =
          StringAttr::get(&context, "//tensorflow/python/something/my_op.py");
      auto loc_filtered3 = FileLineColLoc::get(&context, id_filtered3, 0, 0);
    
      // Build a small stack for each error; the MLIR diagnostic filtering will
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go

    	groupResource := schema.GroupResource{Group: "mygroup.example.com", Resource: "noxus"}
    	restOptions := generic.RESTOptions{StorageConfig: etcdStorage.ForResource(groupResource), Decorator: generic.UndecoratedStorage, DeleteCollectionWorkers: 1, ResourcePrefix: "noxus"}
    
    	parameterScheme := runtime.NewScheme()
    	parameterScheme.AddUnversionedTypes(schema.GroupVersion{Group: "mygroup.example.com", Version: "v1beta1"},
    		&metav1.ListOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top