- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for withoutVersion (0.37 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultVersionCatalogBuilder.java
.details("A version was not set or explicitly declared as not wanted") .solution("Call `.version()` to give the alias a version") .solution("Call `.withoutVersion()` to explicitly declare that the alias should not have a version"))); } for (Map.Entry<String, BundleModel> entry : bundles.entrySet()) { String bundleName = entry.getKey();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 32.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/DefaultVersionCatalogBuilderTest.groovy
then: model.getPlugin("my").version.requiredVersion == "1.5" } def "can create an alias with an empty version"() { builder.library("foo", "org", "foo").withoutVersion() when: def model = builder.build() then: model.getDependencyData("foo").version.requiredVersion == "" } @VersionCatalogProblemTestFor(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Dec 17 22:25:43 UTC 2023 - 12.6K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/catalog/problems/VersionCatalogErrorMessages.groovy
Reason: A version was not set or explicitly declared as not wanted. Possible solutions: 1. Call `.version()` to give the alias a version. 2. Call `.withoutVersion()` to explicitly declare that the alias should not have a version. ${documentation}""" } } static class MissingCatalogFile extends InCatalog<MissingCatalogFile> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 09 14:11:31 UTC 2023 - 17.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy
it.prefer('1.2') it.strictly('[1.0, 2.0[') } library('bar', 'group', 'bar').versionRef('barVersion') library('boo', 'group', 'boo').withoutVersion() plugin('fooPlugin', 'org.foo.plugin').version('1.0') plugin('barPlugin', 'org.bar.plugin').versionRef('barVersion') plugin('bazPlugin', 'org.baz.plugin').version('') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:24 UTC 2024 - 19.2K bytes - Viewed (0)