- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for taskdef (0.13 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/AntBuilderDelegate.java
try { Node xml = new XmlParser().parse(instr); for (Object taskdefObject : (NodeList) xml.get("taskdef")) { Node taskdef = (Node) taskdefObject; String name = (String) taskdef.get("@name"); String className = (String) taskdef.get("@classname"); addTaskDefinition(name, className); } } catch (Exception ex) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 10 10:55:07 UTC 2022 - 4.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/build.gradle
configurations { pmd } dependencies { pmd group: 'pmd', name: 'pmd', version: '4.2.5' } // end::define-classpath[] // tag::use-classpath[] tasks.register('check') { doLast { ant.taskdef(name: 'pmd', classname: 'net.sourceforge.pmd.ant.PMDTask', classpath: configurations.pmd.asPath) ant.pmd(shortFilenames: 'true', failonruleviolation: 'true',
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 697 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTask/kotlin/build.gradle.kts
from(checkstyle) into("libs") } // tag::configure-task[] tasks.register("check") { val checkstyleConfig = file("checkstyle.xml") doLast { ant.withGroovyBuilder { "taskdef"("resource" to "com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties") { "classpath" { "fileset"("dir" to "libs", "includes" to "*.jar") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 837 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/groovy/build.gradle
jasper 'org.apache.tomcat.embed:tomcat-embed-jasper:9.0.2' } tasks.register('preCompileJsps') { def jasperClasspath = configurations.jasper.asPath def projectLayout = layout doLast { ant.taskdef(classname: 'org.apache.jasper.JspC', name: 'jasper', classpath: jasperClasspath) ant.jasper(validateXml: false,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 719 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/build.gradle.kts
dependencies { pmd(group = "pmd", name = "pmd", version = "4.2.5") } // end::define-classpath[] // tag::use-classpath[] tasks.register("check") { doLast { ant.withGroovyBuilder { "taskdef"("name" to "pmd", "classname" to "net.sourceforge.pmd.ant.PMDTask", "classpath" to pmd.asPath) "pmd"("shortFilenames" to true,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 800 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTask/groovy/build.gradle
from configurations.checkstyle into 'libs' } // tag::configure-task[] tasks.register('check') { def checkstyleConfig = file('checkstyle.xml') doLast { ant.taskdef(resource: 'com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties') { classpath { fileset(dir: 'libs', includes: '*.jar') } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 745 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/kotlin/build.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 791 bytes - Viewed (0) -
platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AbstractAntJacocoReport.java
@SuppressWarnings("UnusedDeclaration") public Object doCall(Object it) { GroovyObjectSupport antBuilder = (GroovyObjectSupport) it; antBuilder.invokeMethod("taskdef", ImmutableMap.of( "name", "jacocoReport", "classname", "org.jacoco.ant.ReportTask" )); action.execute(antBuilder); return null;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 23:19:29 UTC 2024 - 4.1K bytes - Viewed (0) -
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) -
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)