Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for gradleApi (0.16 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/DependencyClassPathProvider.java

                return gradleKotlinDsl();
            }
            return null;
        }
    
        private ClassPath gradleApi() {
            if (gradleApi == null) {
                gradleApi = initGradleApi();
            }
            return gradleApi;
        }
    
        private ClassPath initGradleApi() {
            // This gradleApi() method creates a Gradle API classpath based on real jars for embedded test running.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy

                configurations {
                    gradleApi
                    testKit
                }
    
                dependencies {
                    gradleApi gradleApi()
                    testKit gradleTestKit()
                }
    
                task resolveDependencyArtifacts {
                    doLast {
                        def resolvedGradleApiArtifacts = configurations.gradleApi.resolve()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DependencyHandlerApiResolveIntegrationTest.groovy

            then:
            result.assertTaskNotSkipped(':compileTestJava')
        }
    
        def "gradleApi dependency API does not include test-kit JAR"() {
            when:
            buildFile << """
                dependencies {
                    testImplementation gradleApi()
                }
                verifyTestKitJars {
                    doLast {
                        def jarFiles = libsDir.listFiles()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 06:59:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyNotationIntegrationSpec.groovy

                        assert dependencies.gradleApi() == dependencies.gradleApi()
                        assert configurations.conf.dependencies.contains(dependencies.gradleApi())
                    }
                }
            """
    
            then:
            succeeds "check"
        }
    
        @ToBeFixedForConfigurationCache(because = "Task uses the Configuration API")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:17:32 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyClassPathNotationConverter.java

            List<File> gradleApi = getClassPath(GRADLE_API);
            testKitClasspath.removeAll(gradleApi);
    
            ImmutableSet.Builder<File> builder = ImmutableSet.builder();
            builder.add(relocatedDepsJar(testKitClasspath, RuntimeShadedJarType.TEST_KIT));
            builder.addAll(gradleApiFileCollection(gradleApi));
            return builder.build();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 18:30:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/ApplyPluginIntegSpec.groovy

    import static org.gradle.util.internal.TextUtil.normaliseFileSeparators
    
    // TODO: This needs a better home - Possibly in the test kit package in the future
    @Issue("https://github.com/gradle/gradle-private/issues/3247")
    // The gradleApi() dependency has missing JARs unless the test is run with the full Gradle distribution
    @Requires([IntegTestPreconditions.NotEmbeddedExecutor, UnitTestPreconditions.NotJava8OnMacOs])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. subprojects/core/src/crossVersionTest/groovy/org/gradle/testfixtures/ProjectBuilderCrossVersionIntegrationTest.groovy

        def cleanup() {
            executers.each { it.cleanup() }
        }
    
        @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = "Requires a Gradle distribution on the test-under-test classpath, but gradleApi() does not offer the full distribution")
        def "can apply plugin using ProjectBuilder in a test running with Gradle version under development"() {
            writeSourceFiles()
            expect:
            run TEST_TASK_NAME
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassPathProvider.kt

         */
        internal
        val gradleKotlinDsl: ClassPath by lazy {
            gradleApi + gradleApiExtensions + gradleKotlinDslJars
        }
    
        private
        val gradleApi: ClassPath by lazy {
            DefaultClassPath.of(gradleApiJarsProvider())
        }
    
        /**
         * Generated extensions to the Gradle API.
         */
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/customModel/languageType/groovy/buildSrc/build.gradle

    plugins {
        id 'groovy'
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        api gradleApi()
        api localGroovy()
        implementation "org.pegdown:pegdown:1.1.0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 172 bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/GradleDependencies.java

        /**
         * Creates a dependency on the API of the current version of Gradle.
         *
         * @return The dependency.
         * @since 7.6
         */
        default Dependency gradleApi() {
            return getDependencyFactory().gradleApi();
        }
    
        /**
         * Creates a dependency on the <a href="https://docs.gradle.org/current/userguide/test_kit.html" target="_top">Gradle test-kit</a> API.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 23:20:40 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top