Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for targeted (0.19 sec)

  1. 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)
  2. 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)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/DependencyMetadata.java

        /**
         * Returns the group of the module that is targeted by this dependency or dependency constraint.
         * The group allows the definition of modules of the same name in different organizations or contexts.
         */
        String getGroup();
    
        /**
         * Returns the name of the module that is targeted by this dependency or dependency constraint.
         */
        String getName();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 16 13:58:18 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top