Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withoutVersion (0.37 sec)

  1. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/single_versions.adoc

    .Declaring a dependency without version
    ====
    include::sample[dir="snippets/dependencyManagement/declaringDependencies-withoutVersion/kotlin",files="build.gradle.kts[tags=dependencies-without-version]"]
    include::sample[dir="snippets/dependencyManagement/declaringDependencies-withoutVersion/groovy",files="build.gradle[tags=dependencies-without-version]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:46:26 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/troubleshooting/version_catalog_problems.adoc

    If you are using the `Settings` DSL to create a catalog, you can use the `to` method in different flavors:
    
    ```groovy
    library("some-alias", "com.mycompany:some-lib:1.1").withoutVersion()
    // or
    library("some-alias", "com.mycompany", "some-lib").version("1.1")
    ```
    
    If you are using TOML files to create a catalog, you can use one of the following notations:
    
    ```toml
    [libraries]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 13 21:49:09 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/dependencymanagement/SamplesDeclaringDependenciesIntegrationTest.groovy

            then:
            dslDir.file('build/libs/spring-web-5.0.2.RELEASE.jar').isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("dependencyManagement/declaringDependencies-withoutVersion")
        def "can use declare and resolve dependency without version with #dsl dsl"() {
            TestFile dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/initialization/dsl/VersionCatalogBuilder.java

            /**
             * Do not associate this alias to a particular version, in which
             * case the dependency notation will just have group and artifact.
             *
             */
            void withoutVersion();
        }
    
        /**
         * Allows configuring the version of a plugin
         *
         * @since 7.2
         */
        interface PluginAliasBuilder {
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 20:59:29 UTC 2022
    - 6.2K bytes
    - Viewed (0)
Back to top