Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for buildScript (0.51 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/DynamicGroovyPluginMixin.groovy

            compileGroovy {
                groovyOptions.optimizationOptions.indy = $enableIndy
            }
            """
    
            buildScript("""
                apply plugin: SomePlugin
            """)
        }
    
        abstract TestFile file(Object... path)
    
        abstract TestFile buildScript(@GroovyBuildScriptLanguage String script)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderCachingIntegrationTest.groovy

            file("foo/build.gradle") << """
                buildscript { dependencies { classpath(files('${someLib.toURI()}')) } }
            """
    
            // Load the StaticData class in the different sub-sub-projects
            // for a more interesting ClassLoader hierarchy.
            for (projectDir in ['foo/foo', 'bar/bar']) {
                file("$projectDir/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy

                        Object returned = $method;
                        System.out.println("returned = " + returned);
                    }
                }
            """
    
            buildScript("""
                apply plugin: SomePlugin
            """)
    
            when:
            configurationCacheRun("-Dsome.property=some.value")
    
            then:
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMultiProjectIntegrationTest.groovy

        def "reuses cache for absolute task invocation from subproject dir across dirs"() {
            given:
            settingsFile << """
                include 'a', 'b'
            """
            buildScript """
                task ok
            """
            def a = createDir('a')
            def b = createDir('b')
            def configurationCache = newConfigurationCacheFixture()
    
            when:
            inDirectory a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

            indyStatus = enableIndy ? "with indy" : "without indy"
        }
    
    
        // Lift the visibility of the method to make it available for the mixin
        @Override
        TestFile buildScript(@GroovyBuildScriptLanguage String script) {
            super.buildScript(script)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy

            indyStatus = enableIndy ? "with indy" : "without indy"
        }
    
        // Lift the visibility of the method to make it available for the mixin
        @Override
        TestFile buildScript(@GroovyBuildScriptLanguage String script) {
            super.buildScript(script)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

                }
            """
            file("buildSrc/build.gradle") << """
                compileGroovy {
                    groovyOptions.optimizationOptions.indy = $enableIndy
                }
            """
    
            buildScript("""
                apply plugin: SomePlugin
            """)
    
            when:
            configurationCacheRun("-Dsome.property=some.value")
    
            then:
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

                    void apply(Project project) {
                        def returned = $method
                        println("returned = \$returned")
                    }
                }
            """
    
            buildScript("""
                apply plugin: SomePlugin
            """)
    
            when:
            configurationCacheRun("-Dsome.property=some.value")
    
            then:
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsDynamicGroovyBuildScriptBlockIntegrationTest.groovy

        }
    
        @Override
        void buildLogicApplication(BuildInputRead read) {
            buildFile << """
                ${read.requiredImports().collect { "import $it" }.join("\n")}
    
                buildscript {
                    println("apply = " + ${read.groovyExpression})
                }
                tasks.register("thing") {
                    doLast {
                        println("task = " + ${read.groovyExpression})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/ScriptCachingIntegrationTest.kt

            withClassJar("left/fixture.jar")
            withClassJar("right/fixture.jar", DeepThought::class.java)
    
            // and: same script & target type
            val sameContent = """
                buildscript {
                    dependencies { classpath(files("fixture.jar")) }
                }
                println("Same content, different classpath on ${'$'}this")
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:33:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top