Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for PluginDependenciesSpec (0.3 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_build_scripts.adoc

    Gradle determines the correct `this` object and invokes the correct corresponding method.
    The `this` of the method invocation `id("plugin")` object is of type link:{javadocPath}/org/gradle/plugin/use/PluginDependenciesSpec.html[`PluginDependenciesSpec`].
    
    The build script is essentially composed of Gradle API calls built on top of the DSLs.
    Gradle executes the script line by line, top to bottom.
    
    Let's take a look at an example and break it down:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:22:43 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

    The plugin DSL provides a concise and convenient way to declare plugin dependencies.
    
    [[sec:binary_plugins]]
    The plugins block configures an instance of link:{javadocPath}/org/gradle/plugin/use/PluginDependenciesSpec.html[`PluginDependenciesSpec`]:
    
    [source, build.gradle.kts]
    ----
    plugins {
        application                                     // by name
        java                                            // by name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr5_build_scripts.adoc

                implementationClass = 'license.LicensePlugin'
            }
        }
    }
    
    // Additional lines //
    ----
    <1> Use the `plugins{}` block from the link:{groovyDslPath}/org.gradle.plugin.use.PluginDependenciesSpec.html[PluginDependenciesSpec API] in the Groovy DSL
    <2> Apply the Java Gradle plugin development plugin to add support for developing Gradle plugins
    <3> Apply the Groovy plugin to add support for Groovy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

    import org.gradle.kotlin.dsl.support.useToRun
    import org.gradle.plugin.management.internal.PluginRequestInternal
    import org.gradle.plugin.management.internal.PluginRequests
    import org.gradle.plugin.use.PluginDependenciesSpec
    import org.gradle.plugin.use.internal.PluginRequestApplicator
    import org.gradle.plugin.use.internal.PluginRequestCollector
    import org.gradle.util.internal.TextUtil.normaliseFileSeparators
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginTemplatesTest.kt

                assertHasDescription(
                    "Execution failed for task ':compileKotlin'."
                )
                assertHasErrorOutput(
                    """my-project-plugin.gradle.kts:3:17 Using 'plugins(PluginDependenciesSpec.() -> Unit): Nothing' is an error. The plugins {} block must not be used here. If you need to apply a plugin imperatively, please use apply<PluginType>() or apply(plugin = "id") instead."""
                )
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                      Line 1: publishing { }
                              ^ Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:${' '}
                                  public val PluginDependenciesSpec.publishing: PluginDependencySpec defined in org.gradle.kotlin.dsl
    
                    2 errors
                    """
                )
            )
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/dsl.xml

                </tr>
                <tr>
                    <td>org.gradle.api.plugins.ExtraPropertiesExtension</td>
                </tr>
                <tr>
                    <td>org.gradle.plugin.use.PluginDependenciesSpec</td>
                </tr>
                <tr>
                    <td>org.gradle.plugin.use.PluginDependencySpec</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/Project.java

     *
     * <p>
     * Plugins can be used to modularise and reuse project configuration.
     * Plugins can be applied using the {@link PluginAware#apply(java.util.Map)} method, or by using the {@link org.gradle.plugin.use.PluginDependenciesSpec} plugins script block.
     * </p>
     *
     * <a id="properties"></a> <h3>Dynamic Project Properties</h3>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top