Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for jarWithManifest (0.1 sec)

  1. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

                }
            }
            def jar = file('build/test.jar')
    
            when:
            buildFile.text = jarWithManifest("")
            run 'jar'
    
            then:
            jar.manifest.mainAttributes.getValue('attr') == null
    
            when: "Attribute added"
            buildFile.text = jarWithManifest("attributes(attr: 'Hello')")
            run 'jar'
    
            then:
            executedAndNotSkipped ':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)
Back to top