Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 581 for Groovy (0.56 sec)

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

            }
    
            where:
            snippetsFactory             | file
            exec().groovy               | "included/settings.gradle"
            javaexec().groovy           | "included/settings.gradle"
            processBuilder().groovy     | "included/settings.gradle"
            stringArrayExecute().groovy | "included/settings.gradle"
            runtimeExec().groovy        | "included/settings.gradle"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/NestedBeanGroovyInterOpIntegrationTest.groovy

        def setup() {
            pluginDir.file("build.gradle") << """
                plugins {
                    id("groovy")
                }
                dependencies {
                    implementation gradleApi()
                    implementation localGroovy()
                }
            """
            pluginDir.file("src/main/groovy/Params.groovy") << """
                import ${Property.name}
                import ${Internal.name}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyIntegrationTest.groovy

        }
    
        def "assemble on Groovy project with sources but no groovy dependency is executed and fails with a reasonable error message"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            buildFile << """
                plugins { id 'groovy' }
            """
            file("src/main/groovy/Thing.groovy") << """
                class Thing {}
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFeatureFlagsIntegrationTest.groovy

            buildFile("""
                plugins {
                    id("groovy")
                }
    
                dependencies {
                    implementation localGroovy()
                }
            """)
    
            settingsFile("""
                enableFeaturePreview("${FeaturePreviews.Feature.GROOVY_COMPILATION_AVOIDANCE.name()}")
            """)
    
            file("src/main/groovy/Main.groovy") << """
                class Main {}
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

            }
        }
    
        enum Language {
            JAVA,
            GROOVY,
            KOTLIN
    
            String getFileExtension() {
                switch (this) {
                    case JAVA:
                        return 'java'
                    case GROOVY:
                        return 'groovy'
                    case KOTLIN:
                        return 'kt'
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

            // Therefore, it is impossible to call System.getProperties() with static import there, and testing static
            // import is important because Groovy generates different code in this case.
            file("buildSrc/src/main/groovy/SomePlugin.groovy") << """
                import ${CompileStatic.name}
                import ${Plugin.name}
                import ${Project.name}
                import static ${System.name}.clearProperty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

                outputContains("Groovy closure in task with delegate=null, owner=$brokenObject, this=$brokenObject")
                outputContains("Groovy closure in task with custom delegate=null, owner=$brokenObject, this=$brokenObject")
                outputContains("nested Groovy closure in task with delegate=null, owner=$brokenObject, this=$brokenObject")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/AbstractFilePropertyGroovyInterOpIntegrationTest.groovy

        @Override
        void pluginDefinesTask() {
            pluginDir.file("src/main/groovy/SomePlugin.groovy") << """
                import ${Project.name}
                import ${Plugin.name}
    
                class SomePlugin implements Plugin<Project> {
                    void apply(Project project) {
                        project.tasks.register("producer", ProducerTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/RemoteProject.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.performance.generator.tasks
    
    import groovy.transform.CompileStatic
    import groovy.transform.TypeChecked
    import groovy.transform.TypeCheckingMode
    import org.gradle.api.DefaultTask
    import org.gradle.api.file.FileSystemOperations
    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInInitScriptIntegrationTest.groovy

                }
            }
    
            where:
            snippetsFactory             | file
            exec().groovy               | "exec.init.gradle"
            javaexec().groovy           | "exec.init.gradle"
            processBuilder().groovy     | "exec.init.gradle"
            stringArrayExecute().groovy | "exec.init.gradle"
            runtimeExec().groovy        | "exec.init.gradle"
            exec().kotlin               | "exec.init.gradle.kts"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top