Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testCanUseProjectBuilder (0.21 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsVisibilityIntegrationTest.groovy

            file('src/main/groovy/MyPlugin.groovy') << customGroovyPlugin()
    
            file('src/test/groovy/MyTest.groovy') << """
                class MyTest extends groovy.test.GroovyTestCase {
    
                    void testCanUseProjectBuilder() {
                        def project = ${ProjectBuilder.name}.builder().build()
                        project.plugins.apply(MyPlugin)
                        project.plugins.apply(org.gradle.api.plugins.JavaPlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsShadingIssuesIntegrationTest.groovy

            then:
            succeeds 'test'
        }
    
        private static String pluginTest() {
            """
                class MyPluginTest extends groovy.test.GroovyTestCase {
    
                    void testCanUseProjectBuilder() {
                        def project = ${ProjectBuilder.name}.builder().build()
                        project.plugins.apply(MyPlugin)
                        project.evaluate()
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top