Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 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/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ClasspathDependenciesAttributesIntegrationTest.groovy

        def 'show that settings classpath respects attributes and thus will use the default java-runtime value'() {
            given:
            def jarFile = file('build/lib/foo.jar')
            createJarFile(jarFile)
            def foo = mavenRepo.module('org', 'foo')
            foo.publish()
            foo.artifact.file.bytes = jarFile.bytes
            mavenRepo.module('org', 'bar').dependsOn(['scope': 'runtime'], foo).publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. 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