Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for gradleApi (0.2 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top