Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createJarFile (0.11 sec)

  1. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy

            createJarFile(jar)
    
            when:
            def clazz = loadClassFromJar(jar)
            def installation = CurrentGradleInstallationLocator.locateViaClass(clazz).getInstallation()
    
            then:
            installation == null
    
            where:
            jarDirectory << ['other', 'other/plugins']
        }
    
        private void createJarFile(TestFile jar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

                dependencies {
                    file("\$projectDir/lib/").mkdirs()
                    implementation files((1..999).collect {
                        createJarFile("\$projectDir/lib/library\${it}.jar")
                    })
                }
    
                def createJarFile(String libraryPath) {
                    def fos
                    try {
                        fos = new FileOutputStream(file(libraryPath))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top