Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 18 of 18 for dependencyScopes (0.07 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild.root-target-runtimes.gradle.kts

    import gradlebuild.configureAsRuntimeJarClasspath
    
    plugins {
        id("gradlebuild.repositories")
    }
    
    val runtimeAware: NamedDomainObjectProvider<DependencyScopeConfiguration> = configurations.dependencyScope("runtimeAware") {
        description = "All dependencies which should run in a Gradle context, and therefore must declare or inherit target runtime compatibility"
    }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            session.setDependencyManager(depManager);
    
            DependencySelector depFilter = new AndDependencySelector(
                    ScopeDependencySelector.legacy(
                            null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())),
                    OptionalDependencySelector.fromDirect(),
                    new ExclusionDependencySelector());
            session.setDependencySelector(depFilter);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

         * It may be, for example, at compile time only, at run time or at test time.
         *
         * @see DependencyCoordinates#getScope()
         */
        @Nonnull
        DependencyScope getScope();
    
        /**
         * Returns whether the dependency is optional or mandatory.
         * Unlike {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     *     public Collection&lt;PathScope&gt; provides() {
     *         return Collections.singleton(pathScope("integration-test",
     *                 ProjectScope.TEST, DependencyScope.TEST));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.PathScope
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java

        Type getType();
    
        /**
         * {@return the time at which the dependency will be used}
         * It may be, for example, at compile time only, at run time, or at test time.
         */
        @Nonnull
        DependencyScope getScope();
    
        /**
         * Returns whether the dependency is optional, mandatory, or of unspecified obligation.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @Nonnull
        ProjectScope requireProjectScope(@Nonnull String id);
    
        /**
         * Obtain the {@link DependencyScope} from the specified {@code id}.
         * <p>
         * Shortcut for {@code DependencyScope.forId(...)} with a verification that the given identifier exists.
         *
         * @param id the identifier of the scope (case-sensitive)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * collection process, part of the graph computed from one or more {@code DependencyCoordinates}.</p>
     *
     * <p>{@link org.apache.maven.api.DependencyScope} defines when/how a given dependency will be used by the
     * project. This includes compile-time only, runtime, test time, and various other combinations.</p>
     *
     * <h3>Resolution</h3>
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            // TODO: in a typical project, this may need to be the regular javadoc task vs javadocAll
    
            var groovyPackageListBucket = project.getConfigurations().dependencyScope("groovyPackageListBucket");
            var groovyPackageListConf = project.getConfigurations().resolvable("groovyPackageList", conf -> {
                conf.setTransitive(false);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
Back to Top