Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for applyPlugins (0.17 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java

            applyPlugins.append("            pluginsBlockScript.setScriptSource(scriptSource(pluginsBlockClass));\n");
            applyPlugins.append("            pluginsBlockScript.init(target, target.getServices());\n");
            applyPlugins.append("            pluginsBlockScript.run();\n");
            for (PluginRequest pluginRequest : pluginRequests) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 22:50:50 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/settings/PluginsInterpretationSequenceStep.kt

                val pluginManager = get(PluginManagerInternal::class.java)
                val pluginApplicator = get(PluginRequestApplicator::class.java)
                pluginApplicator.applyPlugins(PluginRequests.of(pluginRequests), scriptHandler, pluginManager, targetScope)
            }
            targetScope.lock()
        }
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

    private
    data class ScriptPluginPlugins(
        val scriptPlugin: PrecompiledScriptPlugin,
        val appliedPlugins: List<String>
    )
    
    
    private
    fun ProjectInternal.applyPlugins(pluginRequests: PluginRequests) {
        serviceOf<PluginRequestApplicator>().applyPlugins(
            pluginRequests,
            buildscript,
            pluginManager,
            classLoaderScope
        )
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                kotlinScriptBasePluginsApplicator
                    .apply(project)
            }
    
            override fun closeTargetScopeOf(scriptHost: KotlinScriptHost<*>) {
    
                pluginRequestApplicator.applyPlugins(
                    PluginRequests.EMPTY,
                    scriptHost.scriptHandler as ScriptHandlerInternal,
                    null,
                    scriptHost.targetScope
                )
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/WellBehavedPluginTest.groovy

            "XcodePluginIntegrationTest",
            "IdeaPluginGoodBehaviourTest"
        ])
        def "plugin can build with empty project"() {
            given:
            applyPlugin()
    
            expect:
            succeeds mainTask
        }
    
        protected applyPlugin(File target = buildFile) {
            target << "apply plugin: '${getQualifiedPluginId()}'\n"
        }
    
        protected applyPluginUnqualified(File target = buildFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginCheckInIntegrationTest.groovy

                task f { doLast { throw new RuntimeException("failed") } }
            """
        }
    
        void applyPlugin() {
            settingsFile << plugin.plugins()
        }
    
        def "detects that the build scan plugin has been [applied=#applied]"() {
            given:
            if (applied) {
                applyPlugin()
            }
    
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

            given:
            applyPlugin()
            fixture.doCheckIn = false
    
            when:
            succeeds "dummy", "--scan"
    
            then:
            fixture.issuedNoPluginWarning(output)
        }
    
        def "does not warns if scan requested but no scan plugin unsupported"() {
            given:
            applyPlugin()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

    Let’s say it’s used in a plugin as:
    
    ```java
    public void applyPlugin(Project project) {
         project.tasks.named("compileJava", JavaCompile.class, task -> {
             task.setSourceCompatibility("1.8");
         });
    }
    ```
    
    We will then replace all such usages with interception code:
    ```java
    public void applyPlugin(Project project) {
         project.tasks.named("compileJava", JavaCompile.class, task -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 09:22:58 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top