Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BrokenPlugin (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/PluginApplicationErrorIntegrationTest.groovy

            buildFile << '''
    apply plugin: BrokenPlugin
    
    class BrokenPlugin {
        void apply(Project target) {
        }
    }
    '''
    
            when:
            fails()
    
            then:
            failure.assertHasCause("Failed to apply plugin class 'BrokenPlugin'")
            failure.assertHasCause("'BrokenPlugin' is neither a plugin or a rule source and cannot be applied.")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

            def url2 = writePluginProperties(BrokenPlugin)
    
            given:
            classLoader.getResource("META-INF/gradle-plugins/plugin-1.properties") >> url1
            classLoader.getResource("META-INF/gradle-plugins/plugin-2.properties") >> url2
            classLoader.loadClass(TestPlugin1.name) >> TestPlugin1
            classLoader.loadClass(BrokenPlugin.name) >> BrokenPlugin
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
Back to top