Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 526 for provider (0.07 sec)

  1. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    # ADR-0006 - Use of Provider APIs in Gradle
    
    ## Date
    
    2024-06-21
    
    ## Context
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

            }
        }.toMap()
    
    
    /**
     * Creates a [Provider] that returns `true` when this [Provider] has a value
     * and `false` otherwise. The returned [Provider] always has a value.
     * @see Provider.isPresent
     */
    private
    fun <T> Provider<T>.presence(): Provider<Boolean> =
        map { true }.orElse(false)
    
    
    fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.TaskInterface.getIsFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method now provides default implementation"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            for (WeakMojoExecutionListener provided : getProvidedListeners()) {
                provided.afterMojoExecutionSuccess(event);
            }
        }
    
        public void afterExecutionFailure(MojoExecutionEvent event) {
            for (WeakMojoExecutionListener provided : getProvidedListeners()) {
                provided.afterExecutionFailure(event);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

        }
    
        public SisuDiBridgeModule(boolean discover) {
            this.discover = discover;
        }
    
        @Override
        protected void configure() {
            Provider<PlexusContainer> containerProvider = getProvider(PlexusContainer.class);
            Provider<BeanLocator> beanLocatorProvider = getProvider(BeanLocator.class);
            injector = new BridgeInjectorImpl(beanLocatorProvider, binder());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionSchemeProvider.java

     */
    package org.apache.maven.repository.internal;
    
    import javax.inject.Named;
    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import org.eclipse.aether.util.version.GenericVersionScheme;
    import org.eclipse.aether.version.VersionScheme;
    
    /**
     * Default version scheme provider: provides singleton {@link GenericVersionScheme} instance.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/testing-dependencies.md

    This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests.
    
    You probably want to test the external provider once, but not necessarily call it for every test that runs.
    
    In this case, you can override the dependency that calls that provider, and use a custom dependency that returns a mock user, only for your tests.
    
    ### Use the `app.dependency_overrides` attribute
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExportsProvider.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import java.util.Objects;
    
    import org.apache.maven.internal.CoreRealm;
    
    /**
     * CoreExportsProvider
     */
    @Named
    @Singleton
    public class CoreExportsProvider implements Provider<CoreExports> {
    
        private final CoreExports exports;
    
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/site/apt/index.apt

    ~~ specific language governing permissions and limitations
    ~~ under the License.
    
     -----
     Introduction
     -----
     Hervé Boutemy
     -----
     2012-09-29
     -----
    
    Maven Artifact Resolver Provider
    
     Maven Artifact Resolver Provider is a {{{/resolver/}Maven Artifact Resolver}} extension to support
     Maven POMs and local+remote repositories.
    
     Main component is <<<MavenRepositorySystemUtils>>>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ResolverLifecycle.java

     *
     * @since 3.9.0
     */
    @Named
    @EagerSingleton
    final class ResolverLifecycle {
        private final Provider<RepositorySystem> repositorySystemProvider;
    
        @Inject
        ResolverLifecycle(Provider<RepositorySystem> repositorySystemProvider) {
            this.repositorySystemProvider = requireNonNull(repositorySystemProvider);
        }
    
        @PreDestroy
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top