Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getArchiveBaseName (0.3 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/publish/ArchivePublishArtifact.java

            super.builtBy(tasks);
            return this;
        }
    
        @Override
        public String getName() {
            if (name != null) {
                return name;
            }
            String baseName = archiveTask.getArchiveBaseName().getOrNull();
            if (baseName != null) {
                return withAppendix(baseName);
            }
            return archiveTask.getArchiveAppendix().getOrNull();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/main/java/org/gradle/api/plugins/BasePlugin.java

                task.getArchiveVersion().convention(
                    project.provider(() -> project.getVersion() == Project.DEFAULT_VERSION ? null : project.getVersion().toString())
                );
    
                task.getArchiveBaseName().convention(extension.getArchivesName());
            });
        }
    
        private void configureBuildConfigurationRule(Project project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/core-plugins/base_plugin.adoc

    ====
    
    `archivesName` — default: `$project.name`::
    Provides the default link:{groovyDslPath}/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:archiveBaseName[AbstractArchiveTask.getArchiveBaseName()] for archive tasks.
    
    `distsDirectory` — default: `layout.buildDirectory.dir("distributions")`::
    Default name of the directory in which distribution archives, i.e. non-JARs, are created.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. platforms/software/plugins-distribution/src/main/java/org/gradle/api/distribution/plugins/DistributionPlugin.java

                task.setDescription("Bundles the project as a distribution.");
                task.setGroup(DISTRIBUTION_GROUP);
                task.getArchiveBaseName().convention(distribution.getDistributionBaseName());
                task.getArchiveClassifier().convention(distribution.getDistributionClassifier());
    
                final CopySpec childSpec = project.copySpec();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 20:49:58 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipseWtpPlugin.java

                        @Override
                        public String call() throws Exception {
                            return ((War) project.getTasks().getByName("war")).getArchiveBaseName().getOrNull();
                        }
                    });
                    convention.map("resources", new Callable<List<WbResource>>() {
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/AbstractArchiveTask.java

         *
         * @return the base name. Internal property may be null.
         * @since 5.1
         */
        @Internal("Represented as part of archiveFile")
        public Property<String> getArchiveBaseName() {
            return archiveBaseName;
        }
    
        /**
         * Returns the appendix part of the archive name, if any.
         *
         * @return the appendix. May be null
         * @since 5.1
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 17 20:38:33 UTC 2022
    - 12.6K bytes
    - Viewed (0)
Back to top