Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 92 for gradleApi (0.47 sec)

  1. platforms/core-configuration/kotlin-dsl/doc/c4/C4_3_Component.puml

            Container_Boundary(provider, "Kotlin DSL Provider") {
    
                Component(gradleKotlinDslApi, "Generated `gradleKotlinDslApi()` API JAR", "The Gradle Kotlin DSL API & Kotlin decorated gradleApi()")
    
                Component(providerFactory, "Gradle ScriptPluginFactory", "Provides script evaluation to Gradle, main entry point")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 17:46:30 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

        static final String GENERATE_PLUGIN_DESCRIPTORS_TASK_NAME = "pluginDescriptors";
        static final String VALIDATE_PLUGINS_TASK_NAME = "validatePlugins";
    
        /**
         * Suppress adding the {@code DependencyHandler#gradleApi()} dependency.
         *
         * Experimental property used to test using an external Gradle API dependency.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyLanguageInterOpIntegrationTest.groovy

            def otherDir = file("buildSrc/other")
            otherDir.file("build.gradle") << """
                plugins {
                    id("java-library")
                }
                dependencies {
                    api gradleApi()
                    implementation project(":plugin")
                }
            """
    
            otherDir.file("src/main/java/SomeOtherPlugin.java") << """
                import ${Project.name};
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyHandlerTest.groovy

            Dependency dependency = Mock()
    
            when:
            def result = dependencyHandler.gradleApi()
    
            then:
            result == dependency
    
            and:
            1 * dependencyFactory.createDependency(DependencyFactoryInternal.ClassPathNotation.GRADLE_API) >> dependency
        }
    
        void "creates Gradle test-kit dependency"() {
            Dependency dependency = Mock()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 10:37:21 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt

        }
    
        @Test
        @Requires(
            IntegTestPreconditions.NotEmbeddedExecutor::class,
            reason = "Requires a Gradle distribution on the test-under-test classpath, but gradleApi() does not offer the full distribution"
        )
        fun `gradle kotlin dsl api is available for test implementation`() {
    
            withBuildScript(
                """
    
                plugins {
                    `kotlin-dsl`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/AlreadyOnClasspathPluginUseIntegrationTest.groovy

                            implementationClass = "my.MyPlugin"
                        }
                    }
                }
    
                dependencies {
                    compileOnly(gradleApi())
                    $testKitDependencies
                }
    
                ${mavenCentralRepository()}
    
            """.stripIndent()
            if (testKitSpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                            repositories {
                                mavenCentral()
                            }
                            dependencies {
                                "implementation"(gradleApi())
                                "implementation"(kotlin("stdlib"))
                            }
                        }
                        project(":v1") {
                            version = "1.0"
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyHandler.java

     *
     * dependencies {
     *   //we will use the Groovy version that ships with Gradle:
     *   implementation localGroovy()
     *
     *   //our plugin requires Gradle API interfaces and classes to compile:
     *   implementation gradleApi()
     *
     *   //we will use the Gradle test-kit to test build logic:
     *   testImplementation gradleTestKit()
     * }
     * </pre>
     *
     * <h3>Client module dependencies</h3>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyHandler.java

                .nagUser();
    
            return dependencyFactory.createModule(notation, configureClosure);
        }
    
        @Override
        public Dependency gradleApi() {
            return dependencyFactory.createDependency(DependencyFactoryInternal.ClassPathNotation.GRADLE_API);
        }
    
        @Override
        public Dependency gradleTestKit() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 08:14:09 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesGroovyDSLDependenciesIntegrationTest.groovy

            'a custom suite'    | 'integTest' | 'integTest(JvmTestSuite)'
        }
        // endregion dependencies - platforms
    
        // region dependencies - self-resolving dependencies
        def "can add gradleApi dependency to #suiteDesc"() {
            given:
            buildFile << """
                plugins {
                    id 'java-library'
                }
    
                ${mavenCentralRepository()}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top