Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 161 for pluginManager (0.39 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppApplicationPluginTest.groovy

            when:
            project.pluginManager.apply(CppApplicationPlugin)
    
            then:
            project.application instanceof CppApplication
            project.application.baseName.get() == "testApp"
            project.application.cppSource.files == [src] as Set
        }
    
        def "registers a component for the application"() {
            when:
            project.pluginManager.apply(CppApplicationPlugin)
            project.evaluate()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftLibraryPluginTest.groovy

        def "adds extension with convention for source layout and module name"() {
            given:
            def src = projectDir.file("src/main/swift/main.swift").createFile()
    
            when:
            project.pluginManager.apply(SwiftLibraryPlugin)
            project.evaluate()
    
            then:
            project.library instanceof SwiftLibrary
            project.library.module.get() == "TestLib"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/PmdPluginTest.groovy

            project.pluginManager.apply(JavaBasePlugin)
            project.sourceSets {
                main
                test
                other
            }
    
            expect:
            that(project.tasks['check'], dependsOn(hasItems("pmdMain", "pmdTest", "pmdOther")))
        }
    
        def "can customize settings via extension"() {
            project.pluginManager.apply(JavaBasePlugin)
            project.sourceSets {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 14:47:31 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/plugins/VisualStudioPluginTest.groovy

            when:
            child.pluginManager.apply(VisualStudioPlugin)
    
            then:
            child.visualStudio instanceof VisualStudioExtension
        }
    
        def "adds 'openVisualStudio' task"() {
            when:
            project.pluginManager.apply(VisualStudioPlugin)
    
            then:
            project.tasks.openVisualStudio != null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/xcode/plugins/XcodePluginTest.groovy

            when:
            child.pluginManager.apply(XcodePlugin)
    
            then:
            child.xcode instanceof XcodeExtension
        }
    
        def "adds 'openXcode' task"() {
            when:
            project.pluginManager.apply(XcodePlugin)
    
            then:
            project.tasks.openXcode != null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/cpp/plugins/CppLangPlugin.java

     */
    @Incubating
    @NonNullApi
    public abstract class CppLangPlugin implements Plugin<Project> {
        @Override
        public void apply(final Project project) {
            PluginManager pluginManager = project.getPluginManager();
            pluginManager.apply(ComponentModelBasePlugin.class);
        }
    
        @SuppressWarnings("UnusedDeclaration")
        static class Rules extends RuleSource {
            @ComponentType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy

            then:
            !project.pluginManager.hasPlugin("custom-plugin")
            !project.pluginManager.hasPlugin("custom-rule-source")
    
            when:
            project.apply plugin: "custom-plugin"
            project.apply plugin: "custom-rule-source"
    
            then:
            project.pluginManager.hasPlugin("custom-plugin")
            project.pluginManager.hasPlugin("custom-rule-source")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/plugins/NativeBasePluginTest.groovy

            component.mainPublication >> mainVariant
            component.baseName >> Providers.of('test_app')
    
            given:
            project.pluginManager.apply(NativeBasePlugin)
            project.pluginManager.apply(MavenPublishPlugin)
            project.components.add(component)
            project.group = "my.group"
            project.version = "1.2"
            ((ProjectInternal) project).evaluate()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

        public static final String HINT = "default";
    
        private final BuildPluginManager pluginManager;
    
        @Inject
        public DefaultLifecycleMappingDelegate(BuildPluginManager pluginManager) {
            this.pluginManager = pluginManager;
        }
    
        @Override
        public Map<String, List<MojoExecution>> calculateLifecycleMappings(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/plugins/BinaryBasePluginTest.groovy

            when:
            dsl {
                apply plugin: BinaryBasePlugin
            }
    
            then:
            project.pluginManager.pluginContainer.size() == 3
            project.pluginManager.pluginContainer.findPlugin(ComponentBasePlugin) != null
            project.pluginManager.pluginContainer.findPlugin(LifecycleBasePlugin) != null
        }
    
        def "registers BinarySpec"() {
            when:
            dsl {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top