Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setScriptFile (0.12 sec)

  1. platforms/software/build-init/src/test/groovy/org/gradle/api/tasks/wrapper/WrapperTest.groovy

            !wrapper.getNetworkTimeout().isPresent()
            wrapper.getValidateDistributionUrl()
        }
    
        def "determines Windows script path from unix script path with #inName"() {
            when:
            wrapper.setScriptFile("build/$inName")
    
            then:
            getProject().file("build/$outName") == wrapper.getBatchScript()
    
            where:
            inName           | outName
            "gradle.sh"      | "gradle.bat"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java

        }
    
        /**
         * The file to write the wrapper script to.
         *
         * @since 4.0
         */
        public void setScriptFile(File scriptFile) {
            this.scriptFile = scriptFile;
        }
    
        /**
         * The file to write the wrapper script to.
         */
        public void setScriptFile(Object scriptFile) {
            this.scriptFile = scriptFile;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top