Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getTargetPlatforms (0.2 sec)

  1. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/PlatformAwareComponentSpecInternal.java

        /**
         * 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)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractTargetedNativeComponentSpec.java

        private final Set<String> buildTypes = new HashSet<String>();
        private final Set<String> flavors = new HashSet<String>();
    
        @Override
        public List<PlatformRequirement> getTargetPlatforms() {
            return Collections.unmodifiableList(targetPlatforms);
        }
    
        @Override
        public void targetPlatform(String targetPlatform) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeComponentRules.java

            List<PlatformRequirement> targetPlatforms = targetedComponent.getTargetPlatforms();
            if (targetPlatforms.isEmpty()) {
                PlatformRequirement requirement = DefaultPlatformRequirement.create(nativePlatforms.getDefaultPlatformName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/configure/NativeComponentRulesTest.groovy

                    createdBinaries << name
                }
            }
            component = Mock(MockNativeLibrarySpec) {
                getName() >> "name"
                getBinaries() >> mockBinaries
                getTargetPlatforms() >> []
                chooseBuildTypes(_) >> { Set<? extends BuildType> buildTypes -> buildTypes }
                chooseFlavors(_) >> { Set<? extends Flavor> flavors -> flavors }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top