Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/query/DefaultArtifactResolutionQueryTest.groovy

            def query = createArtifactResolutionQuery(givenComponentTypeRegistry)
    
            when:
            ModuleComponentIdentifier componentIdentifier = new DefaultModuleComponentIdentifier(DefaultModuleIdentifier.newId('mygroup', 'mymodule'), '1.0')
            ArtifactResolutionResult result = query
                .forComponents(componentIdentifier)
                .withArtifacts(selectedComponentType, selectedArtifactType)
                .execute()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 19:46:40 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top