Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for getComponentAs (0.3 sec)

  1. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/plugins/XcodePlugin.java

                @Override
                public void execute(final Project project) {
                    // TODO: Assumes there's a single 'main' Swift component
                    final ProductionSwiftComponent component = project.getComponents().withType(ProductionSwiftComponent.class).getByName("main");
    
                    FileCollection sources = component.getSwiftSource();
                    xcodeProject.getGroups().getSources().from(sources);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependents/DependentComponentsReport.java

        /**
         * Returns the components to generate the report for.
         * Defaults to all components of this project.
         *
         * @return the components.
         */
        @Console
        public List<String> getComponents() {
            return components;
        }
    
        /**
         * Sets the components to generate the report for.
         *
         * @param components the components.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. platforms/jvm/war/src/main/java/org/gradle/api/plugins/WarPlugin.java

            AttributeContainer attributes = attributesFactory.mutable()
                .attribute(Usage.USAGE_ATTRIBUTE, objectFactory.named(Usage.class, Usage.JAVA_RUNTIME));
            project.getComponents().add(objectFactory.newInstance(WebApplication.class, warArtifact, "master", attributes));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 16:57:15 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/LibrariesSourceGenerator.java

                writeLn();
                if (isProvider) {
                    String path = classNode.getFullAlias();
                    BundleModel bundle = config.getBundle(path);
                    List<String> coordinates = bundle.getComponents().stream()
                        .map(config::getDependencyData)
                        .map(LibrariesSourceGenerator::coordinatesDescriptorFor)
                        .collect(toList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 36K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/cpp/plugins/CppLibraryPlugin.java

            final DefaultCppLibrary library = componentFactory.newInstance(CppLibrary.class, DefaultCppLibrary.class, "main");
            project.getExtensions().add(CppLibrary.class, "library", library);
            project.getComponents().add(library);
    
            // Configure the component
            library.getBaseName().convention(project.getName());
            library.getTargetMachines().convention(useHostAsDefaultTargetMachine(targetMachineFactory));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 30 15:38:28 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java/src/main/java/org/gradle/api/plugins/JavaPlugin.java

            defaultConfiguration.extendsFrom(javaComponent.getMainFeature().getRuntimeElementsConfiguration());
            ((SoftwareComponentContainerInternal) project.getComponents()).getMainComponent().convention(javaComponent);
    
            // Build the main jar when running `assemble`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/plugins/NativeBasePlugin.java

    import static org.gradle.language.cpp.CppBinary.LINKAGE_ATTRIBUTE;
    
    /**
     * A common base plugin for the native plugins.
     *
     * <p>Expects plugins to register the native components in the {@link Project#getComponents()} container, and defines a number of rules that act on these components to configure them.</p>
     *
     * <ul>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 26.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/main/java/org/gradle/language/swift/plugins/SwiftLibraryPlugin.java

            final DefaultSwiftLibrary library = componentFactory.newInstance(SwiftLibrary.class, DefaultSwiftLibrary.class, "main");
            project.getExtensions().add(SwiftLibrary.class, "library", library);
            project.getComponents().add(library);
    
            // Setup component
            final Property<String> module = library.getModule();
            module.set(GUtil.toCamelCase(project.getName()));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. platforms/jvm/java-platform/src/main/java/org/gradle/api/plugins/JavaPlatformPlugin.java

        private void createSoftwareComponent(Project project, Configuration apiElements, Configuration runtimeElements) {
            AdhocComponentWithVariants component = softwareComponentFactory.adhoc("javaPlatform");
            project.getComponents().add(component);
            component.addVariantsFromConfiguration(apiElements, new JavaConfigurationVariantMapping("compile", false));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

      LogicalResult matchAndRewrite(TF::OptionalFromValueOp op,
                                    PatternRewriter& rewriter) const override {
        Value value = nullptr;
        for (auto v : op.getComponents()) {
          value = v;
        }
        if (!value) return failure();
        rewriter.replaceOpWithNewOp<TF::IdentityOp>(op, value.getType(), value);
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top