- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 115 for ComponentType (0.25 sec)
-
platforms/software/platform-base/src/main/java/org/gradle/platform/base/binary/BaseBinarySpec.java
return getComponentAs(ComponentSpec.class); } @Nullable protected <T extends ComponentSpec> T getComponentAs(Class<T> componentType) { if (componentNode == null) { return null; } ModelType<T> modelType = ModelType.of(componentType); return componentNode.canBeViewedAs(modelType) ? componentNode.asImmutable(modelType, componentNode.getDescriptor()).getInstance()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/KotlinTypeStrings.kt
internal fun kotlinTypeStringFor(type: TypeOf<*>): String = type.run { when { isArray -> "Array<${kotlinTypeStringFor(componentType!!)}>" isParameterized -> "$parameterizedTypeDefinition<${actualTypeArguments.joinToString(transform = ::kotlinTypeStringFor)}>" isWildcard ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/plugins/NativeBinariesTestPlugin.java
import org.gradle.nativeplatform.test.tasks.RunTestExecutable; import org.gradle.platform.base.BinaryContainer; import org.gradle.platform.base.BinarySpec; import org.gradle.platform.base.ComponentType; import org.gradle.platform.base.TypeBuilder; import org.gradle.platform.base.internal.BinaryNamingScheme; import org.gradle.platform.base.internal.dependents.DependentBinariesResolvedResult;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/ClassLoaderObjectInputStreamTest.groovy
def ois = new ClassLoaderObjectInputStream(input, gcl) def readArrayObject = ois.readObject() then: readArrayObject.class.isArray() readArrayObject.class.componentType.name == "MyClass" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatableSerializerRegistry.java
private void writeArray(Encoder encoder, Object state) throws Exception { Class<?> componentType = state.getClass().getComponentType(); if (componentType.isPrimitive()) { throw new IllegalArgumentException("Unsupported state array type: " + state.getClass()); } encoder.writeString(componentType.getName()); Object[] array = (Object[]) state; encoder.writeInt(array.length);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 26.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/resources/org/gradle/schema/dependency-verification-1.2.xsd
<xs:element type="sha512Type" name="sha512"/> </xs:choice> <xs:attribute type="xs:string" name="name" use="required"/> </xs:complexType> <xs:complexType name="componentType"> <xs:sequence> <xs:element type="artifactType" name="artifact" maxOccurs="unbounded" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:string" name="group" use="required"/>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 7K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java
assert projectLayoutRegistry.getDefaultComponentType() == projectLayoutRegistry.getComponentTypes().get(0); ComponentType componentType = userQuestions.choice("Select type of build to generate", projectLayoutRegistry.getComponentTypes()) .renderUsing(ComponentType::getDisplayName) .defaultOption(projectLayoutRegistry.getDefaultComponentType())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 12:58:10 UTC 2024 - 24.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/resources/org/gradle/schema/dependency-verification-1.1.xsd
<xs:element type="sha512Type" name="sha512"/> </xs:choice> <xs:attribute type="xs:string" name="name" use="required"/> </xs:complexType> <xs:complexType name="componentType"> <xs:sequence> <xs:element type="artifactType" name="artifact" maxOccurs="unbounded" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:string" name="group" use="required"/>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.7K bytes - Viewed (0) -
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/ModelReportIntegrationTest.groovy
} class RegisterComponentRules extends RuleSource { @ComponentType void register1(TypeBuilder<UnmanagedComponentSpec> builder) { builder.defaultImplementation(DefaultUnmanagedComponentSpec) } @ComponentType void register2(TypeBuilder<SampleComponentSpec> builder) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:32:55 UTC 2024 - 22K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/component/internal/DefaultComponentSpec.java
} private static ComponentInfo validate(ComponentInfo info) { if (info == null) { throw new ModelInstantiationException("Direct instantiation of a BaseComponentSpec is not permitted. Use a @ComponentType rule instead."); } return info; } protected static class ComponentInfo { public final ComponentSpecIdentifier componentIdentifier; public final MutableModelNode modelNode;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.9K bytes - Viewed (0)