- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for AntType (0.14 sec)
-
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AntBuilderAwareUtil.groovy
class AntBuilderAwareUtil { static def assertSetContains(FileCollection set, Set<String> filenames) { assertSetContains(set, filenames, [FileCollection.AntType.ResourceCollection]) } static def assertSetContains(FileCollection set, Set<String> filenames, Iterable<FileCollection.AntType> types, boolean generic = true) { AntBuilder ant = new DefaultAntBuilder(null, null) ant.antProject.addTaskDefinition('test', FileListTask)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy
and: level == AntMessagePriority.DEBUG } @Issue('GRADLE-3511') def 'Filename #filename is properly masked when adding it as #antType to an ant task'(String filename, antType) { given: def dirname = 'somedir$$with' def dirAndFile = "${dirname}/${filename}" project.file(dirname).mkdir() File fileWithDollars = project.file(dirAndFile)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 11 16:17:40 UTC 2022 - 7.7K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/FileCollection.java
* * <li>{@link AntType#FileSet}: adds this collection as zero or more Ant FileSets with the given node name.</li> * * <li>{@link AntType#ResourceCollection}: adds this collection as zero or more Ant ResourceCollections with the * given node name.</li> * * </ul> * * You should prefer using {@link AntType#ResourceCollection}, if the target Ant task supports it, as this is
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 05 15:51:59 UTC 2021 - 8.3K bytes - Viewed (0) -
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) -
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) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy
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/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) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CodeNarcInvoker.groovy
} } } source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet) if (!compilationClasspath.empty) { compilationClasspath.addToAntBuilder(ant, 'classpath') } } } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 14:00:06 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 16 22:34:07 UTC 2023 - 9.2K bytes - Viewed (0) -
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)