Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for gradleApi (1.3 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

    val softwareComponentFactory = project.objects.newInstance(SoftwareComponentFactoryProvider::class.java).factory
    val gradleApiComponent = softwareComponentFactory.adhoc("gradleApi")
    components.add(gradleApiComponent)
    
    // Published component containing the public Gradle API
    gradleApiComponent.addVariantsFromConfiguration(gradleApiElements.get()) {
        mapToMavenScope("compile")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-main/build.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import com.gradleup.gr8.EmbeddedJarTask
    import com.gradleup.gr8.Gr8Task
    import java.util.jar.Attributes
    
    plugins {
        id("gradlebuild.distribution.api-java")
        id("com.gradleup.gr8") version "0.10"
    }
    
    description = "Entry point of the Gradle wrapper command"
    
    gradlebuildJava.usedInWorkers()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/DependencyClassPathProviderTest.groovy

        def "uses modules to determine gradle API classpath"() {
            when:
            def classpath = provider.findClassPath("GRADLE_API")
    
            then:
            classpath.asFiles.collect{it.name} == [
                "gradle-worker-main-runtime",
                "gradle-launcher-runtime",
                "gradle-cli-runtime",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top