Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for AntType (0.18 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileCollection.java

        }
    
        @Override
        public void addToAntBuilder(Object builder, String nodeName, AntType type) {
            if (type == AntType.ResourceCollection) {
                addAsResourceCollection(builder, nodeName);
            } else if (type == AntType.FileSet) {
                addAsFileSet(builder, nodeName);
            } else {
                addAsMatchingTask(builder, nodeName);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 07:32:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionTest.groovy

            when:
            collection.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
    
            then:
            1 * source1.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
            1 * source2.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
            0 * _
        }
    
        void "visits children when structure is visited"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/CompositeFileCollection.java

        @Override
        protected void addAsResourceCollection(Object builder, String nodeName) {
            for (FileCollection fileCollection : getSourceCollections()) {
                fileCollection.addToAntBuilder(builder, nodeName, AntType.ResourceCollection);
            }
        }
    
        @Override
        public FileCollectionInternal filter(final Spec<? super File> filterSpec) {
            return new FilteredFileCollection(this, filterSpec) {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy

                        maxErrors: maxErrors, maxWarnings: maxWarnings, failureProperty: FAILURE_PROPERTY_NAME) {
    
                    source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
    
                    if (showViolations) {
                        formatter(type: 'plain', useFile: false)
                    }
    
                    if (isXmlRequired || isHtmlRequired) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ConfigurationDeprecatedExtensions.kt

    fun <T : Configuration> NamedDomainObjectProvider<T>.addToAntBuilder(builder: Any, nodeName: String, type: FileCollection.AntType): Unit =
        get().addToAntBuilder(builder, nodeName, type)
    
    
    /**
     * See [Configuration.addToAntBuilder].
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_ant.adoc

    There is also link:{javadocPath}/org/gradle/api/file/FileCollection.html#addToAntBuilder-java.lang.Object-java.lang.String-org.gradle.api.file.FileCollection.AntType-[a method on `FileCollection`] that will convert a file collection to a fileset or similar Ant type.
    --
    
    [[migant:properties]]
    == Migrating Ant properties
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

            dataTopLevelFunction(function, preIndex)
    
        private
        fun memberFunction(
            inType: KClass<*>,
            function: KFunction<*>,
            preIndex: DataSchemaBuilder.PreIndex,
            configureLambdas: ConfigureLambdaHandler
        ): SchemaMemberFunction {
            val thisTypeRef = inType.toDataTypeRef()
    
            val returnType = function.returnType
    
            checkInScope(returnType, preIndex)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    }
    
    // describe returns a string describing the type typ contained within the type
    // set of inType. If non-empty, inName is used as the name of inType (this is
    // necessary so that we can use alias type names that may not be reachable from
    // inType itself).
    func describe(typ, inType types.Type, inName string) string {
    	name := inName
    	if typ != inType {
    		name = typeName(typ)
    	}
    	if name == "" {
    		return ""
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/universe.go

    	"cmd/internal/src"
    )
    
    var (
    	okfor [ir.OEND][]bool
    )
    
    var (
    	okforeq    [types.NTYPE]bool
    	okforadd   [types.NTYPE]bool
    	okforand   [types.NTYPE]bool
    	okfornone  [types.NTYPE]bool
    	okforbool  [types.NTYPE]bool
    	okforcap   [types.NTYPE]bool
    	okforlen   [types.NTYPE]bool
    	okforarith [types.NTYPE]bool
    )
    
    var builtinFuncs = [...]struct {
    	name string
    	op   ir.Op
    }{
    	{"append", ir.OAPPEND},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/quantity.go

    	},
    	"asApproximateFloat": {
    		cel.MemberOverload("quantity_get_float", []*cel.Type{apiservercel.QuantityType}, cel.DoubleType, cel.UnaryBinding(quantityGetApproximateFloat)),
    	},
    	"asInteger": {
    		cel.MemberOverload("quantity_get_int", []*cel.Type{apiservercel.QuantityType}, cel.IntType, cel.UnaryBinding(quantityGetValue)),
    	},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top