Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for all_dependencies (0.47 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/configuration/ExecuteDomainObjectCollectionCallbackBuildOperationTypeIntegrationTest.groovy

            'all'                                | 'allDependencies'          | []                             | "configurations.foo.allDependencies"          | createFooDependencySnippet()
            'withType(ExternalModuleDependency)' | 'allDependencies'          | []                             | "configurations.foo.allDependencies"          | createFooDependencySnippet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultResolutionResult.java

            allDependencies(out::add);
            return out;
        }
    
        @Override
        public void allDependencies(Action<? super DependencyResult> action) {
            eachElement(getRoot(), Actions.doNothing(), action, new HashSet<>());
        }
    
        @Override
        @SuppressWarnings("rawtypes")
        public void allDependencies(final Closure closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/composite-builds/basic/kotlin/my-app/app/build.gradle.kts

    // tag::app_dependencies[]
    plugins {
        id("application")
    }
    
    application {
        mainClass = "org.sample.myapp.Main"
    }
    
    dependencies {
        implementation("org.sample:number-utils:1.0")
        implementation("org.sample:string-utils:1.0")
    }
    // end::app_dependencies[]
    
    group = "org.sample"
    version = "1.0"
    
    repositories {
        mavenCentral()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 338 bytes
    - Viewed (0)
  4. platforms/jvm/java-platform/src/main/java/org/gradle/api/internal/java/DefaultJavaPlatformExtension.java

    public class DefaultJavaPlatformExtension implements JavaPlatformExtension {
        private boolean allowDependencies;
    
        @Override
        public void allowDependencies() {
            allowDependencies = true;
        }
    
        public boolean isAllowDependencies() {
            return allowDependencies;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 21 12:15:51 UTC 2023
    - 1004 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ArtifactResolutionQueryIntegrationTest.groovy

                    doLast {
                        assert configurations.compileClasspath.files
                        def id = configurations.compileClasspath.incoming.resolutionResult
                            .allDependencies.first().selected.id
                        dependencies.createArtifactResolutionQuery()
                            .forComponents(id)
                            .withArtifacts(JvmLibrary, JavadocArtifact)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/platforms/test-platform/build.gradle.kts

    plugins {
        id("java-platform")
    }
    
    group = "com.example.platform"
    
    // allow the definition of dependencies to other platforms like the JUnit 5 BOM
    javaPlatform.allowDependencies()
    
    dependencies {
        api(platform("org.junit:junit-bom:5.7.1"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 247 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/platforms/product-platform/build.gradle.kts

    plugins {
        id("java-platform")
    }
    
    group = "com.example.platform"
    
    // allow the definition of dependencies to other platforms like the Spring Boot BOM
    javaPlatform.allowDependencies()
    
    dependencies {
        api(platform("org.springframework.boot:spring-boot-dependencies:2.7.8"))
    
        constraints {
            api("org.apache.juneau:juneau-marshall:8.2.0")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 361 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/java-platform/quickstart/groovy/build.gradle

            api 'commons-httpclient:commons-httpclient:3.1'
            runtime 'org.postgresql:postgresql:42.2.5'
        }
    }
    // end::constraints[]
    
    // tag::platform[]
    // tag::allow-dependencies[]
    javaPlatform {
        allowDependencies()
    }
    // end::allow-dependencies[]
    
    dependencies {
        api platform('com.fasterxml.jackson:jackson-bom:2.9.8')
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 554 bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ExtendingConfigurationsIntegrationTest.groovy

                        configurations.conf.extendsFrom(configurations.fooConf)
                        assert configurations.conf.allDependencies*.name == ['foo']
    
                        //purposefully again:
                        configurations.conf.extendsFrom(configurations.fooConf)
                        assert configurations.conf.allDependencies*.name == ['foo']
    
                        //replace:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/mapping/VersionMappingComponentDependencyResolver.java

                    return moduleVersion;
                }
            }
    
            final Set<DependencyResult> allDependencies = new LinkedHashSet<>();
            eachElement(root, Actions.doNothing(), allDependencies::add, new HashSet<>());
    
            // If we reach this point it means we have a dependency which doesn't belong to the resolution result
            // Which can mean two things:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top