- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 176 for targeted (0.15 sec)
-
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/platform/NativePlatform.java
*/ void architecture(String name); /** * The operating system being targeted. * Defaults to the default operating system targeted by the tool chain (normally the current operating system). */ @Nested OperatingSystem getOperatingSystem(); /** * Sets the operating system being targeted. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy
rules.withModule("group:module") { } then: e = thrown(InvalidUserCodeException) e.message == "bad targeted closure" and: 1 * adapter.createFromClosure(ComponentSelection, _) >> { throw new InvalidUserCodeException("bad targeted closure") } } def "propagates error creating rule for rule source" () { when: rules.all ruleSource
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyState.java
} public DependencyState withTarget(ComponentSelector target, List<ComponentSelectionDescriptorInternal> ruleDescriptors) { DependencyMetadata targeted = dependency.withTarget(target); return new DependencyState(targeted, requested, ruleDescriptors, componentSelectorConverter); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/PlatformAwareComponentSpecInternal.java
*/ public interface PlatformAwareComponentSpecInternal extends PlatformAwareComponentSpec, HasIntermediateOutputsComponentSpec { /** * Get the names of the targeted platforms that this component should be built for. * * @return the list of targeted platforms, may be empty but never null. */ List<PlatformRequirement> getTargetPlatforms();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/groovy/build.gradle
tasks.register('printMetadataRulesConfig') { FileCollection metadataRulesConfig = configurations.metadataRulesConfig doLast { metadataRulesConfig.each { println "Resolved: ${it.name}" } } } // tag::targeted-component-selection[] configurations { targetConfig { resolutionStrategy { componentSelection { withModule("org.sample:api") { ComponentSelection selection ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/kotlin/build.gradle.kts
tasks.register("printMetadataRulesConfig") { val metadataRulesConfig: FileCollection = configurations["metadataRulesConfig"] doLast { metadataRulesConfig.forEach { println("Resolved: ${it.name}") } } } // tag::targeted-component-selection[] configurations { create("targetConfig") { resolutionStrategy { componentSelection { withModule("org.sample:api") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ComponentSelectionRulesProcessorTest.groovy
apply(metadataProvider) then: !componentSelection.rejected // rules are called in order closureCalled == 0..3 } def "can call both targeted and untargeted rules"() { metadataProvider.isUsable() >> true metadataProvider.getComponentMetadata() >> Mock(ComponentMetadata) metadataProvider.getIvyModuleDescriptor() >> Mock(IvyModuleDescriptor)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 15.7K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsReportIntegrationTest.groovy
} def "fails when targeted component is not found"() { given: buildScript simpleCppBuild() when: fails 'dependentComponents', '--component', 'unknown' then: failure.assertHasCause "Component 'unknown' not found." } def "fails when some of the targeted components are not found"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 24K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeExecutableBinary.java
* limitations under the License. */ package org.gradle.nativeplatform; import org.gradle.api.Incubating; import java.io.File; /** * A binary artifact for a {@link NativeExecutable}, targeted at a particular platform with specific configuration. */ @Incubating public interface NativeExecutableBinary extends NativeBinary { /** * The executable file. */ File getExecutableFile();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 984 bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeBinary.java
* The {@link org.gradle.nativeplatform.Flavor} that this binary was built with. */ Flavor getFlavor(); /** * Returns the {@link org.gradle.nativeplatform.platform.NativePlatform} that this binary is targeted to run on. */ NativePlatform getTargetPlatform(); /** * Returns the {@link org.gradle.nativeplatform.BuildType} used to construct this binary. */ BuildType getBuildType();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.3K bytes - Viewed (0)