Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createJarWithProperties (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/initialization/loadercache/ClassLoadersCachingIntegrationTest.groovy

        def "changing non root buildsript classpath does affect child projects"() {
            when:
            settingsFile << "include 'a', 'a:a'"
            createJarWithProperties("thing.jar")
            createJarWithProperties("a/thing.jar")
            createJarWithProperties("a/a/thing.jar")
            addIsCachedCheck()
            addIsCachedCheck("a")
            addIsCachedCheck("a/a")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 19 20:09:56 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

        }
    
        @ToBeFixedForConfigurationCache(because = "changing buildscript files dependency")
        def "build script is recompiled when project's classpath changes"() {
            createJarWithProperties("lib/foo.jar", [source: 1])
            root {
                'build.gradle'(simpleBuild('''
                    buildscript {
                        dependencies {
                            classpath files('lib/foo.jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        }
    
        /**
         * Creates a JAR that is unique to the test. The uniqueness is achieved via a properties file with a value containing the path to the test itself.
         */
        def createJarWithProperties(String path, Map<String, ?> properties = [source: 1]) {
            def props = new Properties()
            def sw = new StringWriter()
            props.putAll(properties.collectEntries { k, v -> [k, String.valueOf(v)] })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top