Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 726 for Manifest (0.29 sec)

  1. platforms/documentation/docs/src/snippets/tutorial/manifest/kotlin/build.gradle.kts

    plugins {
        java
    }
    version = "1.0"
    
    // tag::add-to-manifest[]
    tasks.jar {
        manifest {
            attributes(
                "Implementation-Title" to "Gradle",
                "Implementation-Version" to archiveVersion
            )
        }
    }
    // end::add-to-manifest[]
    
    // tag::custom-manifest[]
    val sharedManifest = java.manifest {
        attributes (
            "Implementation-Title" to "Gradle",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/DefaultManifest.java

            }
        }
    
        /**
         * Prepare Manifest bytes for interoperability. Ant Manifest class doesn't support split multi-bytes characters, Java Manifest class does. Ant Manifest class supports manifest sections starting
         * without prior blank lines, Java Manifest class doesn't. Ant Manifest class supports manifest without last line blank, Java Manifest class doesn't. Therefore we need to insert blank lines before
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/addons/dns/manifests.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package dns
    
    const (
    	// CoreDNSService is the CoreDNS Service manifest
    	CoreDNSService = `
    apiVersion: v1
    kind: Service
    metadata:
      labels:
        k8s-app: kube-dns
        kubernetes.io/cluster-service: "true"
        kubernetes.io/name: "CoreDNS"
      name: kube-dns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 09:59:39 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/util/internal/JarUtil.java

         * @throws IOException if the manifest cannot be parsed
         */
        public static Manifest readManifest(byte[] content) throws IOException {
            return new Manifest(new ByteArrayInputStream(content));
        }
    
        /**
         * Checks if the manifest declares JAR to be multi-release.
         *
         * @param manifest the manifest
         * @return {@code true} if the manifest declares the multi-release JAR
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 07 19:17:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy

        private def manifestWithClasspath(def manifestClasspath) {
            Manifest manifest = new Manifest();
            Attributes attributes = manifest.getMainAttributes();
            attributes.put(Attributes.Name.MANIFEST_VERSION, "1.0");
            if (manifestClasspath != null) {
                attributes.putValue("Class-Path", manifestClasspath);
            }
            return manifest
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure_helper_test.go

    	}
    	gceDir := filepath.Dir(currentPath)
    	c.manifestTemplateDir = filepath.Join(gceDir, "manifests")
    	c.manifestTemplate = filepath.Join(c.manifestTemplateDir, c.manifest)
    	c.manifestDestination = filepath.Join(c.kubeHome, "etc", "kubernetes", "manifests", c.manifest)
    
    	c.mustCopyFromTemplate()
    	c.mustCopyAuxFromTemplate()
    	c.mustCreateManifestDstDir()
    
    	return c
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

            then:
            def jar = new JarTestFixture(file('build/test.jar'))
            jar.manifest.mainAttributes.getValue('attr') == 'value'
            jar.manifest.mainAttributes.getValue('version') == '1.0'
        }
    
        def "can use Provider values in manifest attribute when merging with manifest file"() {
            given:
            def manifest = file("MANIFEST.MF") << "$manifestContent"
            buildFile << """
                task jar(type: Jar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/jvm/tasks/JarTest.groovy

            jar.manifest {
                attributes(key: 'value')
            }
    
            then:
            jar.manifest.attributes.key == 'value'
        }
    
        def "can configure manifest using an Action"() {
            when:
            jar.manifest({ Manifest manifest ->
                manifest.attributes(key: 'value')
            } as Action<Manifest>)
    
            then:
            jar.manifest.attributes.key == 'value'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/staticpod/utils.go

    		return true, "", nil
    	}
    
    	manifest1, err := kubeadmutil.MarshalToYaml(pod1, v1.SchemeGroupVersion)
    	if err != nil {
    		return false, "", errors.Wrapf(err, "failed to marshal Pod manifest for %q to YAML", path1)
    	}
    
    	manifest2, err := kubeadmutil.MarshalToYaml(pod2, v1.SchemeGroupVersion)
    	if err != nil {
    		return false, "", errors.Wrapf(err, "failed to marshal Pod manifest for %q to YAML", path2)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/internal/NaggingJavaPluginConvention.java

        }
    
        @Override
        public Manifest manifest() {
            logDeprecation();
            return delegate.manifest();
        }
    
        @Override
        public Manifest manifest(@SuppressWarnings("rawtypes") Closure closure) {
            logDeprecation();
            return delegate.manifest(closure);
        }
    
        @Override
        public Manifest manifest(Action<? super Manifest> action) {
            logDeprecation();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top