- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for taskdef (0.1 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskReferenceCodec.kt
private enum class ReferenceType { SELF_REF, TASK_REF, PROHIBITED } object TaskReferenceCodec : Codec<Task> { override suspend fun WriteContext.encode(value: Task) = when { value === isolate.owner.delegate -> writeEnum(ReferenceType.SELF_REF) isTaskReferencesAllowed(value) -> { writeEnum(ReferenceType.TASK_REF) writeString(value.name) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3K bytes - Viewed (0) -
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) -
okcurl/build.gradle.kts
import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinJvm import org.apache.tools.ant.taskdefs.condition.Os plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("com.palantir.graal") id("com.github.johnrengelman.shadow") } val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") { from("src/main/resources-templates")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.8K bytes - Viewed (0)