Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 726 for Manifest (0.22 sec)

  1. platforms/jvm/platform-jvm/src/main/java/org/gradle/jvm/tasks/Jar.java

        }
    
        /**
         * Returns the manifest for this JAR archive.
         *
         * @return The manifest
         */
        @Internal
        public Manifest getManifest() {
            return manifest;
        }
    
        /**
         * Sets the manifest for this JAR archive.
         *
         * @param manifest The manifest. May be null.
         */
        public void setManifest(Manifest manifest) {
            this.manifest = manifest;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarEncodingIntegrationTest.groovy

            then:
            def jar = new JarTestFixture(file('dest/test.jar'), 'UTF-8', 'UTF-8')
            def manifest = jar.content('META-INF/MANIFEST.MF')
            manifest.contains('moji: bak€')
            manifest.contains('bake: moji€')
        }
    
        @Issue('GRADLE-3374')
        def "can merge manifests containing split multi-byte chars using #taskType task"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/ManifestMergeSpec.java

         *
         * @param contentCharset the character set used to decode the merged manifest content
         * @see #getContentCharset()
         * @since 2.14
         */
        void setContentCharset(String contentCharset);
    
        /**
         * Adds a merge path to a manifest that should be merged into the base manifest. A merge path can be either another
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesJavaQuickstartIntegrationTest.groovy

                'META-INF/MANIFEST.MF',
                'org/gradle/Person.class',
                'org/gradle/resource.xml'
            )
    
            // Check contents of manifest
            Manifest manifest = jarContents.file('META-INF/MANIFEST.MF').withInputStream { new Manifest(it) }
            assertThat(manifest.mainAttributes.size(), equalTo(3))
            assertThat(manifest.mainAttributes.getValue('Manifest-Version'), equalTo('1.0'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformForAgent.java

        private void copyManifestMainAttribute(Manifest source, Manifest destination, Attributes.Name name) {
            destination.getMainAttributes().put(name, source.getMainAttributes().getValue(name));
        }
    
        private void setManifestMainAttribute(Manifest manifest, String name, String value) {
            manifest.getMainAttributes().putValue(name, value);
        }
    
        private byte[] toByteArray(Manifest manifest) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. subprojects/core/src/testFixtures/groovy/org/gradle/util/JarUtils.groovy

            }
    
            /**
             * Specifies that this JAR has no manifest.
             */
            void withoutManifest() {
                assert !hasConfiguredManifest: "Already written the manifest"
                hasConfiguredManifest = true
            }
    
            /**
             * Configures the JAR manifest.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 07 19:17:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/internal/DefaultJavaPluginConvention.java

        }
    
        @Override
        public Manifest manifest() {
            return extension.manifest();
        }
    
        @Override
        public Manifest manifest(@SuppressWarnings("rawtypes") Closure closure) {
            return extension.manifest(closure);
        }
    
        @Override
        public Manifest manifest(Action<? super Manifest> action) {
            return extension.manifest(action);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 22:10:58 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy

            DefaultManifest manifest = new DefaultManifest(fileResolver).attributes(key1: 'value1')
            fileResolver.resolve('file') >> manifestFile
    
            when:
            manifest.writeTo('file')
            Manifest fileManifest = manifestFile.withReader { new Manifest(it) }
            Manifest expectedManifest = new Manifest()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. operator/pkg/helmreconciler/apply.go

    	return len(r.processedObjects) > 0 || r.deployed > 0
    }
    
    // ApplyManifest applies the manifest to create or update resources. It returns the processed (created or updated)
    // objects and the number of objects in the manifests.
    func (h *HelmReconciler) ApplyManifest(manifest name.Manifest) (result AppliedResult, _ error) {
    	cname := string(manifest.Name)
    	crHash, err := h.getCRHash(cname)
    	if err != nil {
    		return result, err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/manifest/groovy/build.gradle

    plugins {
        id 'java'
    }
    version = '1.0'
    
    // tag::add-to-manifest[]
    jar {
        manifest {
            attributes("Implementation-Title": "Gradle",
                       "Implementation-Version": archiveVersion)
        }
    }
    // end::add-to-manifest[]
    
    // tag::custom-manifest[]
    def sharedManifest = java.manifest {
        attributes("Implementation-Title": "Gradle",
                   "Implementation-Version": version)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top