Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 88 for gradleApi (0.18 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorProblemsApiIntegrationTest.groovy

        def setupBuild(Jvm javaVersion) {
            file('buildSrc/build.gradle') << """
                plugins {
                    id 'java'
                }
    
                dependencies {
                    implementation(gradleApi())
                }
    
                tasks.withType(JavaCompile) {
                    ${javaVersion == null ? '' : forkingOptions(javaVersion)}
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/DependenciesExtensions.kt

                implementation(project()) // is getImplementation().add(project())
    
                // Add a dependency on the Gradle API
                implementation(gradleApi()) // is getImplementation().add(gradleApi())
    
                // Modify a dependency to select test fixtures
                implementation(testFixtures("org:foo:1.0")) // is getImplementation().add(getTestFixtures().modify("org:foo:1.0"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 12 18:51:29 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleBackedArtifactBuilder.java

            try {
                try (PrintWriter writer = new PrintWriter(rootDir.file("build.gradle"))) {
                    writer.println("apply plugin: 'java'");
                    writer.println(String.format("dependencies { %s gradleApi() }", conf));
                    writer.println("jar {");
                    if (shouldPreserveTimestamps != null) {
                        writer.println(String.format("preserveFileTimestamps = %s", shouldPreserveTimestamps));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

                    copyPluginDescriptors.from(tasks.pluginDescriptors)
                }
                // ==
    
                dependencies {
                    gradle7CompileOnly(gradleApi()) // We should be able to access different Gradle API versions
                    gradle7CompileOnly(localGroovy())
                }
    
                gradlePlugin {
                    plugins.create('greeting') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorDslIntegrationTest.groovy

            """
            expect:
            succeeds("help")
    
            where:
            expression << [
                "gradleApi()",
                "gradleTestKit()",
                "localGroovy()",
            ]
        }
    
        def "FileCollectionDependency declared using #expression shows up in related configuration"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 16:23:38 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyJavaInterOpIntegrationTest.groovy

        def setup() {
            pluginDir.file("build.gradle") << """
                plugins {
                    id("java-library")
                }
                dependencies {
                    api gradleApi()
                }
            """
        }
    
        @Override
        void pluginSetsValues() {
            pluginDir.file("src/main/java/SomePlugin.java") << """
                import ${Project.name};
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyGradlePluginInitIntegrationTest.groovy

            then:
            dslFixtureFor(GROOVY).assertGradleFilesGenerated()
        }
    
        public static final String NOT_RUNNING_ON_EMBEDDED_EXECUTER_REASON = "This test runs a build that itself runs a build in a test worker with 'gradleApi()' dependency, which needs to pick up Gradle modules from a real distribution"
    
        @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = NOT_RUNNING_ON_EMBEDDED_EXECUTER_REASON)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 02 19:50:23 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/fixtures/PluginUnderTest.groovy

        }
    
        PluginUnderTest writeBuildScript() {
            projectDir.file("build.gradle") << """
                apply plugin: 'groovy'
                dependencies {
                    implementation gradleApi()
                    implementation localGroovy()
                }
            """
    
            this
        }
    
        private File generateMetadataFile() {
            def file = metadataFile.touch()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top