Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 65 for all_dependencies (0.4 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMavenPublishIntegrationTest.groovy

                mainComponent.usages.add(
                    new TestUsage(
                        name: 'api',
                        usage: objects.named(Usage, 'api'),
                        dependencies: configurations.implementation.allDependencies.withType(ModuleDependency),
                        dependencyConstraints: configurations.implementation.allDependencyConstraints,
                        attributes: testAttributes
                    )
                )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            return dependencies;
        }
    
        @Override
        public DependencySet getAllDependencies() {
            if (allDependencies == null) {
                initAllDependencies();
            }
            return allDependencies;
        }
    
        @Override
        public boolean hasDependencies() {
            runDependencyActions();
            return !getAllDependencies().isEmpty();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  3. platforms/jvm/java-platform/src/main/java/org/gradle/api/plugins/JavaPlatformPlugin.java

            "Most likely you want to add constraints instead.\n" +
            "If you did this intentionally, you need to configure the platform extension to allow dependencies:\n    javaPlatform.allowDependencies()\n" +
            "Found dependencies in the '%s' configuration.";
    
        private final SoftwareComponentFactory softwareComponentFactory;
    
        @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishMultiProjectIntegTest.groovy

        group = "org.test"
        version = "1.0"
    
        ${mavenTestRepository()}
    }
    
    project(":$platformName") {
        apply plugin: 'java-platform'
    
        javaPlatform {
            allowDependencies()
        }
    
        dependencies {
            api "org.test:foo:1.0"
            constraints {
                api "org.test:bar:1.1"
            }
        }
        publishing {
            repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencySubstitutionRulesIntegrationTest.groovy

                }
    
                task check {
                    doLast {
                        def deps = configurations.conf.incoming.resolutionResult.allDependencies as List
                        assert deps.size() == 1
                        assert deps[0].requested.version == '1.3'
                        assert deps[0].selected.id.version == '1.5'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 52.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/BeforeResolveIntegrationTest.groovy

                    // but before it is fully resolved during artifact resolution
                    // Configurations should not be mutated in this hook
                    incoming.beforeResolve {
                        if (allDependencies.none { it.group == "com" && it.name == "foo" }) {
                            configurations.implementation.get().dependencies.add(project.dependencies.create("com:foo:1.0"))
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 02:27:32 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. subprojects/distributions-dependencies/build.gradle.kts

    val tomljVersion = "1.0.0"
    
    // test only
    val archunitVersion = "1.2.0"
    val bytebuddyVersion = "1.10.20"
    val jettyVersion = "9.4.36.v20210114"
    val sshdVersion = "2.12.1"
    
    // For the junit-bom
    javaPlatform.allowDependencies()
    
    dependencies {
        api(platform("org.junit:junit-bom:${junit5Version}!!"))
    
        constraints {
            api(libs.ansiControlSequenceUtil) { version { strictly("0.3") }}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 19:54:08 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginTest.groovy

            runtime.artifacts.collect {it.file} == [jarTask.archiveFile.get().asFile]
            runtime.dependencies == project.configurations.getByName(JvmConstants.RUNTIME_CLASSPATH_CONFIGURATION_NAME).allDependencies
        }
    
        def "creates standard source sets and applies mappings"() {
            given:
            project.pluginManager.apply(JavaPlugin)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

            task resolve {
                def compileClasspath = configurations.compileClasspath
                doLast {
                    def result = compileClasspath.incoming.resolutionResult
                    result.allDependencies {
                        assert it instanceof ResolvedDependencyResult
                        assert it.resolvedVariant != null
                    }
                }
            }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/DependencyResolveRulesIntegrationTest.groovy

                    it.useVersion '1.123.15' //does not exist
                }
    
                task check {
                    doLast {
                        def deps = configurations.conf.incoming.resolutionResult.allDependencies as List
                        assert deps.size() == 1
                        assert deps[0].attempted.group == 'org.utils'
                        assert deps[0].attempted.module == 'api'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 28.2K bytes
    - Viewed (0)
Back to top