Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 178 for catalogs (0.46 sec)

  1. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/platforms.adoc

    ====
    
    Check the link:{javadocPath}/org/gradle/api/artifacts/VersionCatalog.html[version catalog API] for all supported methods.
    
    [[sec:sharing-catalogs]]
    == Sharing catalogs
    
    Version catalogs are used in a single build (possibly multi-project build) but may also be shared between builds.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/testing/test-suite-version-catalogs/kotlin/build.gradle.kts

    }
    
    testing {
        suites {
            // tag::version-catalogs-deps[]
            val test by getting(JvmTestSuite::class) {
                dependencies {
                    runtimeOnly(libs.guava)
                    implementation(libs.commons.lang3)
                    implementation.bundle(libs.bundles.groovy)
                }
            }
            // end::version-catalogs-deps[]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 19:28:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultDependenciesAccessors.java

            private final Map<String, VersionCatalog> catalogs;
    
            @Inject
            public DefaultVersionCatalogsExtension(Map<String, VersionCatalog> catalogs) {
                this.catalogs = catalogs;
            }
    
            @Override
            public Optional<VersionCatalog> find(String name) {
                if (catalogs.containsKey(name)) {
                    return Optional.of(catalogs.get(name));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginVersionCatalogIntegrationTest.kt

    class PrecompiledScriptPluginVersionCatalogIntegrationTest : AbstractKotlinIntegrationTest() {
    
        @Test
        fun `version catalogs main extension is available`() {
            withKotlinBuildSrc()
            withSimpleVersionCatalog()
            val scriptBody = """
                // Can use outer build version catalog when applied
                println(versionCatalogs.named("libs").findLibrary("groovy").get().get())
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 08:15:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/test-suite-version-catalogs/groovy/build.gradle

    repositories {
        mavenCentral()
    }
    
    testing {
        suites {
            // tag::version-catalogs-deps[]
            test {
                dependencies {
                    runtimeOnly libs.guava
                    implementation libs.commons.lang3
                    implementation.bundle(libs.bundles.groovy)
                }
            }
            // end::version-catalogs-deps[]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 19:28:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/initialization/resolve/DependencyResolutionManagement.java

        /**
         * Configures the version catalogs which will be used to generate type safe accessors for dependencies.
         * @param spec the spec to configure the dependencies
         *
         * @since 7.0
         */
        void versionCatalogs(Action<? super MutableVersionCatalogContainer> spec);
    
        /**
         * Returns the configurable version catalogs.
         *
         * @since 7.0
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/configuration/BuildTreePreparingProjectsPreparer.java

            Instrumented.fileObserved(dependenciesFile, getClass().getName());
            if (dependenciesFile.exists()) {
                dm.versionCatalogs(catalogs -> {
                    VersionCatalogBuilder builder = catalogs.findByName(defaultLibrary);
                    if (builder == null) {
                        builder = catalogs.create(defaultLibrary);
                    }
                    builder.from(services.get(FileCollectionFactory.class).fixed(dependenciesFile));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 01 14:00:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginsKotlinDSLIntegrationTest.groovy

            executer.expectDocumentedDeprecationWarning(
                "Accessing libraries or bundles from version catalogs in the plugins block. " +
                    "This behavior has been deprecated. " +
                    "This behavior is scheduled to be removed in Gradle 9.0. " +
                    "Only use versions or plugins from catalogs in the plugins block. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/troubleshooting/version_catalog_problems.adoc

    Typically, this happens if you tried to import a catalog using `from(files("some-catalog.txt"))`.
    
    Currently Gradle only supports TOML version catalogs.
    
    To fix this problem, either import a TOML file, or use the `Settings` API to declare your catalog.
    
    [[catalog_file_does_not_exist]]
    == Catalog file doesn't exist
    
    This error indicates that you tried to import a catalog file, but the file doesn't exist.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 13 21:49:09 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/initialization/resolve/MutableVersionCatalogContainer.java

     */
    package org.gradle.api.initialization.resolve;
    
    import org.gradle.api.NamedDomainObjectContainer;
    import org.gradle.api.initialization.dsl.VersionCatalogBuilder;
    
    /**
     * The container for declaring version catalogs
     *
     * @since 7.0
     */
    public interface MutableVersionCatalogContainer extends NamedDomainObjectContainer<VersionCatalogBuilder> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 27 23:38:43 UTC 2021
    - 962 bytes
    - Viewed (0)
Back to top