- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 442 for variants (1.91 sec)
-
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishMultiProjectIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/native/building_cpp_projects.adoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 17.3K bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/IvyComponentParser.java
DefaultIvyDependencySet ivyDependencies = instantiator.newInstance(DefaultIvyDependencySet.class, collectionCallbackActionDecorator); Map<String, VariantWarningCollector> warnings = new HashMap<>(); for (ParsedVariantDependencyResult variant : variants) { ivyDependencies.addAll(variant.dependencies); warnings.put(variant.name, variant.warnings);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 18.4K bytes - Viewed (1) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolver.java
ComponentWalker.walkComponent(root, componentsMap, (variant, coordinates) -> { if (result.put(variant.getName(), coordinates) != null) { throw new InvalidUserDataException(String.format( "Found multiple variants with name '%s' in component '%s' of project '%s'", variant.getName(), root.getName(), identityPath ));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 17.6K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/DefaultJvmPluginServicesTest.groovy
then: 1 * apiElements.getOutgoing() >> outgoing 1 * outgoing.getVariants() >> variants 1 * variants.maybeCreate('classes') >> variant 1 * variant.getAttributes() >> attrs 1 * variant.artifactsProvider(_) >> { def artifacts = it[0].create() assert artifacts.size() == 1 PublishArtifact artifact = artifacts[0]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 13 19:52:38 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolverTest.groovy
when: resolver.resolveVariant(ModuleVersionIdentifier, project.identityPath, "variant-name") then: def e = thrown(InvalidUserDataException) e.message == "Multiple child components may not share the same coordinates: pub-group:pub-name:pub-version" } def "detects variants with the same name"() { def child1 = Stub(TestComponent) { getUsages() >> [
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 01:37:13 UTC 2023 - 15.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc
This allows a multi-variant plugin that depends on other plugins to access their APIs, which are exclusively provided in their version-specific variants. This snippet makes the <<#plugin-with-variants,plugin variant `gradle7` defined above>> consume the matching variants of its dependencies on other multi-variant plugins: ==== include::sample[dir="snippets/developingPlugins/pluginWithVariants/kotlin",files="build.gradle.kts[tags=consume-plugin-variant]"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 29 02:31:44 UTC 2024 - 37.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedFilesApiIntegrationTest.groovy
- Configuration ':a:compile' variant free declares attribute 'usage' with value 'compile': - Unmatched attributes: - Provides artifactType 'jar' but the consumer didn't ask for it - Provides flavor 'free' but the consumer didn't ask for it - Configuration ':a:compile' variant paid declares attribute 'usage' with value 'compile':
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 17:10:15 UTC 2024 - 32.9K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-fixtures/src/testFixtures/groovy/org/gradle/java/fixtures/AbstractJavaProjectTestFixturesIntegrationTest.groovy
pom.scopes.isEmpty() and: "does not appear as a variant in Gradle Module metadata" GradleModuleMetadata gmm = new GradleModuleMetadata(file("build/repo/com/acme/root/1.3/root-1.3.module")) !gmm.variants.any { it.name == "testFixturesApiElements" } !gmm.variants.any { it.name == "testFixturesRuntimeElements" } gmm.variants.size() == 2 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 17 21:17:58 UTC 2023 - 15.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentAttributesRulesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:10:53 UTC 2024 - 16.7K bytes - Viewed (0)