Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 161 for pluginManager (0.28 sec)

  1. platforms/jvm/plugins-java-library/src/test/groovy/org/gradle/api/plugins/JavaLibraryPluginTest.groovy

            def internalProject = TestUtil.createChildProject(project, "internal")
    
            project.pluginManager.apply(JavaPlugin)
            commonProject.pluginManager.apply(JavaLibraryPlugin)
            toolsProject.pluginManager.apply(JavaLibraryPlugin)
            internalProject.pluginManager.apply(JavaLibraryPlugin)
    
            when:
            project.dependencies {
                implementation commonProject
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 20:08:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. platforms/jvm/war/src/test/groovy/org/gradle/api/plugins/WarPluginTest.groovy

        def "applies Java plugin and adds convention"() {
            when:
            project.pluginManager.apply(WarPlugin)
    
            then:
            project.getPlugins().hasPlugin(JavaPlugin)
            project.convention.plugins.war instanceof WarPluginConvention
        }
    
        def "creates configurations"() {
            given:
            project.pluginManager.apply(WarPlugin)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 18:51:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPluginTest.groovy

        }
    
        def "sets tested component to main component when applying C++ library plugin"() {
            when:
            project.pluginManager.apply(CppUnitTestPlugin)
    
            then:
            project.unitTest.testedComponent.orNull == null
    
            when:
            project.pluginManager.apply(CppLibraryPlugin)
            project.evaluate()
    
            then:
            project.unitTest.testedComponent.orNull == project.library
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

            MojoDescriptor mojoDescriptor = pluginManager.getMojoDescriptor( plugin, goal, session.getCurrentProject(), session.getLocalRepository() );
            assertPluginDescriptor( mojoDescriptor, "org.apache.maven.plugins", "maven-remote-resources-plugin", "1.0-beta-2" );
            MojoExecution mojoExecution = new MojoExecution( mojoDescriptor );
            pluginManager.executeMojo( session, mojoExecution );
            */
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppLibraryPluginTest.groovy

            when:
            project.pluginManager.apply(CppLibraryPlugin)
            project.pluginManager.apply(MavenPublishPlugin)
            project.evaluate()
    
            then:
            def zip = project.tasks.cppHeaders
            zip instanceof Zip
        }
    
        def "adds publications when maven-publish plugin is applied"() {
            when:
            project.pluginManager.apply(CppLibraryPlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/plugins/XCTestConventionPluginTest.groovy

        }
    
        def "sets tested component to main component when applying Swift library plugin"() {
            when:
            project.pluginManager.apply(XCTestConventionPlugin)
    
            then:
            project.xctest.testedComponent.orNull == null
    
            when:
            project.pluginManager.apply(SwiftLibraryPlugin)
            project.evaluate()
    
            then:
            project.xctest.testedComponent.orNull == project.library
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/plugins/ComponentBasePluginTest.groovy

            }
    
            then:
            project.pluginManager.pluginContainer.hasPlugin(ComponentBasePlugin)
        }
    
        def "applies lifecycle base plugin only"() {
            when:
            dsl {
                apply plugin: ComponentBasePlugin
            }
    
            then:
            project.pluginManager.pluginContainer.size() == 2
            project.pluginManager.pluginContainer.findPlugin(LifecycleBasePlugin) != null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/AntlrPluginTest.groovy

    import static org.gradle.api.reflect.TypeOf.typeOf
    
    class AntlrPluginTest extends AbstractProjectBuilderSpec {
    
        def addsAntlrPropertiesToEachSourceSet() {
            when:
            project.pluginManager.apply(AntlrPlugin)
    
            then:
            def main = project.sourceSets.main
            main.antlr.srcDirs == [project.file('src/main/antlr')] as Set
    
            def test = project.sourceSets.test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/PluginRequestsHandlerTest.kt

    class PluginRequestsHandlerTest {
    
        @Test
        fun `applies plugins after merging auto-applied plugin requests`() {
    
            // given:
            val pluginManager = mock<PluginManagerInternal>()
            val target = mock<ProjectInternal> {
                on { this.pluginManager } doReturn pluginManager
            }
            val initialRequests = mock<PluginRequests>(name = "initialRequests")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/PluginDetectionIntegrationTest.groovy

                apply plugin: '$appliedBy'
                operations << "applied"
    
                assert plugins["$detectedBy"]
                assert plugins.getPlugin("$detectedBy")
                assert pluginManager.hasPlugin("$detectedBy")
                assert pluginManager.findPlugin("$detectedBy").id == "$detectedBy"
    
                task verify {
                    doLast {
                        assert operations[0] == 'applying'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top