Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for taskSem (0.13 sec)

  1. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/AntGroovydoc.java

                @SuppressWarnings("UnusedDeclaration")
                public Object doCall(Object it) {
                    final GroovyObjectSupport antBuilder = (GroovyObjectSupport) it;
    
                    antBuilder.invokeMethod("taskdef", ImmutableMap.of(
                        "name", "groovy",
                        "classname", "org.codehaus.groovy.ant.Groovy"
                    ));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy

                }
            }
    
            try {
                ant.taskdef(name: 'checkstyle', classname: 'com.puppycrawl.tools.checkstyle.CheckStyleTask')
            } catch (RuntimeException ignore) {
                ant.taskdef(name: 'checkstyle', classname: 'com.puppycrawl.tools.checkstyle.ant.CheckstyleAntTask')
            }
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/project/IsolatedAntBuilder.java

     */
    public interface IsolatedAntBuilder {
    
        /**
         * Creates a copy of this builder which uses the given libraries. These classes are visible for use in
         * taskdef/typedef tasks.
         *
         * @param classpath The library classpath
         * @return a copy of this builder
         */
        IsolatedAntBuilder withClasspath(Iterable<File> classpath);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 02 18:37:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CodeNarcInvoker.groovy

            def reports = parameters.enabledReports.get()
            def ignoreFailures = parameters.ignoreFailures.get()
            def source = parameters.source
    
            setLifecycleLogLevel(ant, null)
            ant.taskdef(name: 'codenarc', classname: 'org.codenarc.ant.CodeNarcTask')
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 14:00:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultIsolatedAntBuilderTest.groovy

        }
    
        @Test
        void bridgesLogging() {
            def classpath = ClasspathUtil.getClasspathForClass(TestAntTask)
    
            builder.withClasspath([classpath]).execute {
                taskdef(name: 'loggingTask', classname: TestAntTask.name)
                loggingTask()
            }
    
            assertThat(outputEventListener.toString(), containsString('[[INFO] [ant-test] a jcl log message]'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 22 10:43:11 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            ClassLoader original = Thread.currentThread().getContextClassLoader()
            ClassLoader cl = new URLClassLoader([] as URL[])
            Thread.currentThread().setContextClassLoader(cl)
    
            when:
            ant.taskdef(name: 'test', classname: TestTask.class.getName())
            ant.test()
    
            then:
            noExceptionThrown()
    
            cleanup:
            Thread.currentThread().setContextClassLoader(original)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy

                throw new GradleException("Invalid maxFailures $maxFailures. Valid range is >= 0.")
            }
    
            List<PmdActionParameters.EnabledReport> reports = parameters.enabledReports.get()
            ant.taskdef(name: 'pmd', classname: 'net.sourceforge.pmd.ant.PMDTask')
            ant.pmd(antPmdArgs) {
                parameters.source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
                ruleSets.each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. 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()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 10:41:50 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. 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)
  10. pilot/pkg/model/push_context.go

    		}
    	}
    }
    
    func (ps *PushContext) concurrentConvertToSidecarScope(sidecarConfigs []config.Config) {
    	type taskItem struct {
    		idx int
    		cfg config.Config
    	}
    
    	var wg sync.WaitGroup
    	taskItems := make(chan taskItem)
    	sidecarScopes := make([]*SidecarScope, len(sidecarConfigs))
    	for i := 0; i < features.ConvertSidecarScopeConcurrency; i++ {
    		wg.Add(1)
    		go func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top