Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for taskdef (0.13 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/ant.adoc

    include::sample[dir="snippets/ant/useAntType/groovy",files="build.gradle"]
    ====
    
    [[sec:using_custom_ant_tasks]]
    === Using custom Ant tasks
    
    To make custom tasks available in your build, use the `taskdef` (usually easier) or `typedef` Ant task, just as you would in a `build.xml` file.
    You can then refer to the custom Ant task as you would a built-in Ant task:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 15:23:52 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy

        }
    
        def "reports failure if build fails in build phase"() {
            setupProject()
            file("a/build.gradle") << """
                tasks.register("taskE") {
                    doLast {
                        throw new RuntimeException("taskD failed")
                    }
                }
            """
    
            when:
            def events = ProgressEvents.create()
            withConnection {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 10:41:50 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

    import org.apache.commons.io.FileUtils
    import org.apache.commons.lang.StringUtils
    import org.apache.tools.ant.Project
    import org.apache.tools.ant.taskdefs.Expand
    import org.apache.tools.ant.taskdefs.Tar
    import org.apache.tools.ant.taskdefs.Untar
    import org.apache.tools.ant.taskdefs.Zip
    import org.apache.tools.ant.types.ArchiveFileSet
    import org.apache.tools.ant.types.EnumeratedAttribute
    import org.apache.tools.ant.types.ZipFileSet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/phi.go

    	priq := &s.priq
    	q := s.q
    	queued := s.queued
    	queued.clear()
    	hasPhi := s.hasPhi
    	hasPhi.clear()
    	hasDef := s.hasDef
    	hasDef.clear()
    
    	// Add defining blocks to priority queue.
    	for _, b := range defs {
    		priq.a = append(priq.a, b)
    		hasDef.add(b.ID)
    		if debugPhi {
    			fmt.Printf("def of var%d in %s\n", n, b)
    		}
    	}
    	heap.Init(priq)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  5. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.java.archives.internal
    
    import org.apache.tools.ant.taskdefs.Manifest
    import org.apache.tools.ant.taskdefs.Manifest.Attribute
    import org.gradle.api.Action
    import org.gradle.api.internal.file.FileResolver
    import org.gradle.api.internal.provider.DefaultProperty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

                                          'net/rubygrapefruit/platform/FileInfo',
                                          'org/codehaus/groovy/ant/Groovyc',
                                          'org/apache/tools/ant/taskdefs/Ant',
                                          'org/slf4j/Logger',
                                          'org/apache/commons/logging/Log',
                                          'org/apache/log4j/Logger',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

    import com.google.common.collect.Lists;
    import groovy.lang.Closure;
    import groovy.lang.DelegatesTo;
    import org.apache.commons.io.FileUtils;
    import org.apache.tools.ant.Project;
    import org.apache.tools.ant.taskdefs.Zip;
    import org.codehaus.groovy.runtime.ResourceGroovyMethods;
    import org.gradle.api.UncheckedIOException;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hashing;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top