Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 268 for Catalog (0.13 sec)

  1. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part3_gradle_dep_man.adoc

    - Understand transitive dependencies
    - Adding a version catalog
    ****
    
    [[part3_begin]]
    == Step 0. Before you Begin
    
    1. You initialized your Java app in <<part1_gradle_init.adoc#part1_begin,part 1>>.
    2. You ran several tasks in <<part2_gradle_tasks#part2_begin,part 2>>.
    
    == Step 1. Understanding the Version Catalog
    A version catalog is used to declare all direct dependencies of a project in a central location.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 22:40:17 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. platforms/software/plugins-version-catalog/src/integTest/groovy/org/gradle/catalog/VersionCatalogSupport.groovy

     * limitations under the License.
     */
    
    package org.gradle.catalog
    
    import static org.gradle.util.internal.TextUtil.normaliseLineSeparators
    
    trait VersionCatalogSupport {
        void expectPlatformContents(File expectedTomlFile = file("build/version-catalog/libs.versions.toml"), String resultFile) {
            assert expectedTomlFile.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 16 12:28:14 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/software/plugins-version-catalog/src/main/java/org/gradle/api/plugins/catalog/internal/DependenciesAwareVersionCatalogBuilder.java

    import org.gradle.api.internal.artifacts.DependencyResolutionServices;
    import org.gradle.api.internal.artifacts.ImmutableVersionConstraint;
    import org.gradle.api.internal.catalog.DefaultVersionCatalog;
    import org.gradle.api.internal.catalog.DefaultVersionCatalogBuilder;
    import org.gradle.api.logging.Logger;
    import org.gradle.api.logging.Logging;
    import org.gradle.api.model.ObjectFactory;
    
    import javax.inject.Inject;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/catalogs-settings/groovy/build.gradle

        // Use the plugin `versions` as declared in the `libs` version catalog
        alias(libs.plugins.versions)
    }
    // end::use_plugin[]
    
    // tag::simple_dependency_use[]
    dependencies {
        implementation(libs.groovy.core)
    }
    // end::simple_dependency_use[]
    
    // tag::use_version[]
    checkstyle {
        // will use the version declared in the catalog
        toolVersion = libs.versions.checkstyle.get()
    }
    // end::use_version[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 11:03:14 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginApplyKotlinDSLIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.integtests.resolve.catalog
    
    import org.gradle.integtests.resolve.PluginDslSupport
    import org.gradle.test.fixtures.file.LeaksFileHandles
    import org.gradle.test.fixtures.plugin.PluginBuilder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. platforms/software/plugins-version-catalog/src/main/java/org/gradle/api/plugins/catalog/internal/DefaultVersionCatalogPluginExtension.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.api.plugins.catalog.internal;
    
    import com.google.common.collect.Interners;
    import org.gradle.api.Action;
    import org.gradle.api.artifacts.Configuration;
    import org.gradle.api.initialization.dsl.VersionCatalogBuilder;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 16 12:28:14 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/software/plugins-version-catalog/src/main/java/org/gradle/api/plugins/catalog/internal/TomlFileGenerator.java

     * limitations under the License.
     */
    package org.gradle.api.plugins.catalog.internal;
    
    import org.gradle.api.DefaultTask;
    import org.gradle.api.GradleException;
    import org.gradle.api.file.RegularFileProperty;
    import org.gradle.api.internal.catalog.DefaultVersionCatalog;
    import org.gradle.api.provider.Property;
    import org.gradle.api.tasks.CacheableTask;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 16 12:28:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/PluginDependenciesSpecScopeInternal.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.support
    
    import org.gradle.api.internal.catalog.ExternalModuleDependencyFactory
    import org.gradle.api.model.ObjectFactory
    import org.gradle.initialization.DependenciesAccessors
    import org.gradle.kotlin.dsl.*
    import org.gradle.plugin.use.PluginDependenciesSpec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/attributes/Usage.java

         *
         * @since 4.1
         */
        String SWIFT_API = "swift-api";
    
        /**
         * A version catalog, packaged as TOML files, for use as recommendations
         * for dependency and plugin versions.
         *
         * @since 7.0
         */
        String VERSION_CATALOG = "version-catalog";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/ModuleVersionSelectorParsersTest.groovy

            when:
            parser("force()").parseNotation(provider)
    
            then:
            def ex = thrown(InvalidUserDataException)
            ex.message.contains "Cannot convert a version catalog entry 'pluginId:1.0' to an object of type ModuleVersionSelector. Only dependency accessors are supported but not plugin, bundle or version accessors for 'force()'"
        }
    
        def "reports unsupported provider convertible type"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top