Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createJarWithProperties (0.19 sec)

  1. 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)
  2. 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