Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 92 for gradleApi (2.28 sec)

  1. platforms/documentation/docs/src/snippets/java/javaGradlePlugin/README.adoc

    endif::[]
    
    This example demonstrates the use of the java gradle plugin development plugin.
    By applying the plugin, the java plugin is automatically applied as well as the gradleApi() dependency.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 470 bytes
    - Viewed (0)
  2. platforms/jvm/language-jvm/src/test/groovy/org/gradle/api/plugins/jvm/internal/JvmComponentDependenciesTest.groovy

            when:
            dependencies {
                implementation localGroovy()
                implementation gradleApi()
                implementation gradleTestKit()
            }
    
            then:
            1 * dependencyFactory.localGroovy() >> localGroovyDependency
            1 * dependencyFactory.gradleApi() >> gradleApiDependency
            1 * dependencyFactory.gradleTestKit() >> gradleTestKitDependency
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 16 19:56:35 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

        def "does not download gradleApi() sources when sources download is disabled"() {
            given:
            executer.withEnvironmentVars('GRADLE_REPO_OVERRIDE': "$server.uri/")
    
            buildScript """
                apply plugin: "java"
                apply plugin: "idea"
                apply plugin: "eclipse"
    
                dependencies {
                    implementation gradleApi()
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.artifacts.dsl.GradleDependencies.xml

            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>gradleApi</td>
                </tr>
                <tr>
                    <td>gradleTestKit</td>
                </tr>
                <tr>
                    <td>localGroovy</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 662 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/toolingApi/customModel/groovy/plugin/build.gradle

    plugins {
        id 'java'
        id 'ivy-publish'
    }
    
    group 'org.gradle.sample'
    version '1.0'
    
    dependencies {
        implementation gradleApi()
    }
    
    publishing {
        repositories {
            ivy { url 'build/repo' }
        }
        publications {
            ivy(IvyPublication) {
                from components.java
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 309 bytes
    - Viewed (0)
  6. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractPropertyUpgradesBinaryCompatibilityCrossVersionSpec.groovy

        }
    
        protected void prepareGroovyPluginTest(String pluginApplyBody) {
            file("producer/build.gradle") << """
                apply plugin: 'groovy'
                dependencies {
                    implementation gradleApi()
                }
            """
    
            file("producer/src/main/groovy/SomePlugin.groovy") << """
                ${getDefaultImports().collect { "import " + it }.join("\n")}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/base/customExternalTask/kotlin/task/build.gradle.kts

    // tag::external-task-build[]
    plugins {
        groovy
    // end::external-task-build[]
        `maven-publish`
    // tag::external-task-build[]
    }
    
    // tag::gradle-api-dependencies[]
    dependencies {
        implementation(gradleApi())
    }
    // end::gradle-api-dependencies[]
    // end::external-task-build[]
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation("junit:junit:4.13")
    }
    
    group = "org.gradle"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/java/javaGradlePlugin/readme.xml

    <sample>
        <para>
            This example demonstrates the use of the java gradle plugin development plugin.  By applying the plugin, the java plugin
            is automatically applied as well as the gradleApi() dependency.  Furthermore, validations are performed against the
            plugin metadata during jar execution.
        </para>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 340 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/groovy/build.gradle

        def copyPluginDescriptors = rootSpec.addChild()
        copyPluginDescriptors.into('META-INF/gradle-plugins')
        copyPluginDescriptors.from(tasks.pluginDescriptors)
    }
    
    dependencies {
        gradle7CompileOnly(gradleApi()) // <4>
    }
    // end::add-plugin-variant[]
    
    // tag::consume-plugin-variant[]
    configurations.configureEach {
        if (canBeResolved && name.startsWith(gradle7.name))  {
            attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 01:32:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/kotlin/build.gradle.kts

        val copyPluginDescriptors = rootSpec.addChild()
        copyPluginDescriptors.into("META-INF/gradle-plugins")
        copyPluginDescriptors.from(tasks.pluginDescriptors)
    }
    
    dependencies {
        "gradle7CompileOnly"(gradleApi()) // <4>
    }
    // end::add-plugin-variant[]
    
    // tag::consume-plugin-variant[]
    configurations.configureEach {
        if (isCanBeResolved && name.startsWith(gradle7.name))  {
            attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 01:32:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top