- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,259 for thingo (0.15 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java
} public static <T> List<T> toList(T[] things) { if (things == null || things.length == 0) { return new ArrayList<T>(0); } List<T> list = new ArrayList<T>(things.length); Collections.addAll(list, things); return list; } public static <T> Set<T> toSet(Iterable<? extends T> things) { if (things == null) { return new HashSet<T>(0);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 24.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyResolutionEventsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java
} /** * Recursively unpacks all the given things into a flat list. * * Nulls are not removed, they are left intact. * * @param things The things to flatten * @return A flattened list of the given things */ public static List<?> flattenCollections(Object... things) { return flattenCollections(Object.class, things); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 11:17:19 UTC 2024 - 26K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SimpleJavaContinuousIntegrationTest.groovy
when: def libDir = file('libs').createDir() jarWithClasses(libDir.file("somelib.jar"), Thing: 'interface Thing {}') def anotherJar = libDir.file("anotherlib.jar") jarWithClasses(anotherJar, Thing2: 'interface Thing2 {}') file("src/main/java/Foo.java") << "class Foo implements Thing, Thing2{}" buildFile << """ dependencies { implementation fileTree("libs/")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy
def model = withConnection { connection -> connection.model(CustomModel).get() } then: model.thing.is(model.thing) model.things[0].is(model.thing) model.thingsByName.child.is(model.thing) model.findThing("child").is(model.thing) } def "retains underlying object identity in model returned to client via build action"() { settingsFile << "include 'a', 'b'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy
def a = java "@Thing class A {}" outputs.snapshot { succeeds "compileJava" } when: a.text = "@Thing class A { void foo() {} }" then: succeeds "compileJava", "--info" and: outputContains("Full recompilation is required because the generated type 'AThing' must have exactly one originating element, but had 0.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 20.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionInstantiationIntegrationTest.groovy
buildFile """ class Things { class Thing { } } extensions.create("thing", Things.Thing, "a") """ expect: fails() failure.assertHasCause("Could not create an instance of type Things\$Thing.") failure.assertHasCause("Class Things.Thing is a non-static inner class.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 16.9K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy
when: builder.create(target).generate() then: assertOutputFile("""$COMMON_START */ // Call method things.element1.thing(12, things.nested.element2) // Set property prop = things.nested.element2 other = extendsFrom(things.nested.element2.outputDir) """) } def "can add further configuration"() { given: builder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy
then: assertOutputFile("""/* * This file was generated by the Gradle 'init' task. */ // Call method things["element1"].thing(12, things.nested["element2"]) // Set property prop = things.nested["element2"] other = extendsFrom(things.nested["element2"].outputDir) """) } def "can add further configuration"() { given: builder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.1K bytes - Viewed (0)