Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for gradleApi (0.4 sec)

  1. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy

            }
            file("producer/build.gradle") << """
                apply plugin: 'groovy'
                dependencies {
                    ${groovyDepConf} localGroovy()
                    ${apiDepConf} gradleApi()
                }
            """
    
            file("producer/src/main/groovy/SomePlugin.groovy") << """
                import org.gradle.api.Plugin
                import org.gradle.api.Project
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsGenerationIntegrationTest.groovy

            expect:
            buildFile << """
                configurations {
                    deps
                }
    
                dependencies {
                    deps gradleApi()
                }
    
                task resolveDependencyArtifacts {
                    doLast {
                        def resolvedArtifacts = configurations.deps.incoming.files.files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsLoggingIntegrationTest.groovy

            executer.withConsole(ConsoleOutput.Rich)
            buildFile << """
                configurations {
                    gradleImplDeps
                }
    
                dependencies {
                    gradleImplDeps gradleApi()
                }
    
                task resolveDependencies {
                    doLast {
                        configurations.gradleImplDeps.resolve()
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/distributions-core/build.gradle.kts

        }
        pluginsRuntimeOnly(project(":unit-test-fixtures")) {
            because("This is required for gradleApi()")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/AbstractFilePropertyGroovyInterOpIntegrationTest.groovy

        def setup() {
            pluginDir.file("build.gradle") << """
                plugins {
                    id("groovy")
                }
                dependencies {
                    implementation gradleApi()
                    implementation localGroovy()
                }
            """
        }
    
        abstract void taskDefinition();
    
        abstract void taskWithNestedBeanDefinition();
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/BaseGradleImplDepsIntegrationTest.groovy

        }
    
        static String excludeGroovy() {
            applyPlugins(['groovy'])
        }
    
        static String gradleApiDependency() {
            """
                dependencies {
                    implementation gradleApi()
                }
            """
        }
    
        static String customGroovyPlugin() {
            """
                import org.gradle.api.Plugin
                import org.gradle.api.Project
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/core-plugins/java_gradle_plugin.adoc

    The Java Gradle Plugin development plugin can be used to assist in the development of Gradle plugins.
    It automatically applies the <<java_library_plugin.adoc#java_library_plugin,Java Library (`java-library`)>> plugin, adds the `gradleApi()` dependency to the `api` configuration and performs validation of plugin metadata during `jar` task execution.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. subprojects/public-api/build.gradle.kts

    publishing {
        publications {
            create<MavenPublication>("maven") {
                artifactId = moduleIdentity.baseName.get()
    
                from(components["gradleApi"])
    
                versionMapping {
                    allVariants {
                        fromResolutionOf(configurations.externalRuntimeClasspath.get())
                    }
                }
    
                pom {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 13:15:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/PluginBinaryCompatibilityCrossVersionSpec.groovy

            }
            file("producer/build.gradle") << """
                apply plugin: 'groovy'
                dependencies {
                    ${groovyDepConf} localGroovy()
                    ${apiDepConf} gradleApi()
                }
            """
    
            file("producer/src/main/groovy/SomePlugin.groovy") << """
                import org.gradle.api.Plugin
                import org.gradle.api.Project
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderEndUserIntegrationTest.groovy

        def setup() {
            buildFile << """
            apply plugin: 'groovy'
    
            dependencies {
                implementation localGroovy()
                implementation gradleApi()
            }
    
            ${mavenCentralRepository()}
    
            testing {
                suites {
                    test {
                        useSpock()
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top