Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for gradleApi (0.29 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractNestedBeanJavaInterOpIntegrationTest.groovy

        def setup() {
            pluginDir.file("build.gradle") << """
                plugins {
                    id("java-library")
                }
                dependencies {
                    api gradleApi()
                }
            """
            pluginDir.file("src/main/java/Params.java") << """
                import ${Property.name};
                import ${Internal.name};
    
                public interface Params {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/base/customExternalTask/groovy/task/build.gradle

    // tag::external-task-build[]
    plugins {
        id 'groovy'
    // end::external-task-build[]
        id '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)
  3. build-logic/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

    tasks.validatePlugins {
        enableStricterValidation = true
    }
    
    // Remove gradleApi() and gradleTestKit() as we want to compile/run against Gradle modules
    // TODO consider splitting `java-gradle-plugin` to provide only what's necessary here
    configurations.all {
        withDependencies {
            remove(project.dependencies.gradleApi())
            remove(project.dependencies.gradleTestKit())
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.artifacts.dsl.DependencyHandler.xml

                </tr>
                <tr>
                    <td>module</td>
                </tr>
                <tr>
                    <td>project</td>
                </tr>
                <tr>
                    <td>gradleApi</td>
                </tr>
                <tr>
                    <td>gradleTestKit</td>
                </tr>
                <tr>
                    <td>localGroovy</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/DifferentJnaVersionInPluginIntegrationSpec.groovy

            given:
            buildScript """
                plugins {
                    id 'java'
                }
    
                ${mavenCentralRepository()}
                dependencies {
                    implementation gradleApi()
                    implementation 'net.java.dev.jna:jna:4.1.0'
                    testImplementation 'junit:junit:4.13'
                }
            """.stripIndent()
    
            file('src/test/java/JnaDoesWork.java') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/api/plugins/BuildSrcPluginIntegrationTest.groovy

            """
    
            file("buildSrc/testplugin/build.gradle") << """
                apply plugin: "groovy"
    
                dependencies {
                    implementation localGroovy()
                    implementation gradleApi()
                }
            """
    
            def pluginSource = file("buildSrc/testplugin/src/main/groovy/testplugin/TestPlugin.groovy") << """
                package testplugin
                import org.gradle.api.Plugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/main/java/org/gradle/initialization/buildsrc/GroovyBuildSrcProjectConfigurationAction.java

            project.getPluginManager().apply(GroovyPlugin.class);
    
            DependencyHandler dependencies = project.getDependencies();
            dependencies.add(JvmConstants.API_CONFIGURATION_NAME, dependencies.gradleApi());
            dependencies.add(JvmConstants.API_CONFIGURATION_NAME, dependencies.localGroovy());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/AbstractFilePropertyJavaInterOpIntegrationTest.groovy

        def setup() {
            pluginDir.file("build.gradle") << """
                plugins {
                    id("java-library")
                }
                dependencies {
                    api gradleApi()
                }
            """
        }
    
        abstract void taskDefinition();
    
        abstract void taskWithNestedBeanDefinition();
    
        @Override
        void pluginDefinesTask() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/util/internal/VersionNumberIntegrationTest.groovy

                plugins {
                    kotlin("jvm") version embeddedKotlinVersion
                }
    
                ${mavenCentralRepository(GradleDsl.KOTLIN)}
    
                dependencies {
                    implementation(gradleApi())
                    implementation(kotlin("stdlib"))
                }
    
                tasks.withType<KotlinCompile>().configureEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/NestedBeanGroovyInterOpIntegrationTest.groovy

        def setup() {
            pluginDir.file("build.gradle") << """
                plugins {
                    id("groovy")
                }
                dependencies {
                    implementation gradleApi()
                    implementation localGroovy()
                }
            """
            pluginDir.file("src/main/groovy/Params.groovy") << """
                import ${Property.name}
                import ${Internal.name}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top