- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 653 for declareNS (0.31 sec)
-
platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/feature_variants.adoc
[[sec::declare_feature_variants]] == Registering features Features can be declared by applying the `java-library` plugin. The following code illustrates how to declare a feature named `mongodbSupport`: .Registering a feature ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 18:45:05 UTC 2023 - 13.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/resolver.go
check.error(ident, InvalidInitDecl, "cannot declare init - must be func") return } // spec: "The main package must have package name main and declare // a function main that takes no arguments and returns no value." if ident.Value == "main" && check.pkg.name == "main" { check.error(ident, InvalidMainDecl, "cannot declare main - must be func") return } check.declare(check.pkg.scope, ident, obj, nopos)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 26.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy
true | 'conflict fix applied' } /** * This test highlights the case where published module declares a relocation. This is the drop-in replacement * for "replacedBy" rules when a module has been relocated, and that the publisher uses Gradle. There's the * ability to declare, in a newer version of the module, that it actually provides the same capability as an
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 18.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentReplacementIntegrationTest.groovy
} def "does not allow replacing with self"() { declaredReplacements 'a->a' expect: fails().assertHasCause("Cannot declare module replacement that replaces self: org:a->org:a") } def "when multiple replacement targets declared only the last one applies"() { publishedMavenModules 'c' declaredDependencies 'a', 'b', 'c' declaredReplacements 'a->b', 'a->c'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go
// Keep imports. case token.VAR, token.CONST: // Blank the declared var/const names. for _, spec := range decl.Specs { spec := spec.(*ast.ValueSpec) for i := range spec.Names { spec.Names[i].Name = "_" } } } case *ast.FuncDecl: // Blank the declared func name. decl.Name.Name = "_" // Turn a method receiver: func (T) f(P) R {...}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.2K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/catalog/problems/VersionCatalogErrorMessages.groovy
"""${intro} - Problem: In version catalog ${catalog}, a bundle with name '${bundle}' declares a dependency on '${aliasRef}' which doesn't exist. Reason: Bundles can only contain references to existing library aliases. Possible solutions: 1. Make sure that the library alias '${aliasRef}' is declared. 2. Remove '${aliasRef}' from bundle '${bundle}'. ${documentation}""" } }
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/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy
- Configuration ':myElements' declares attribute 'color' with value 'blue': - Incompatible because this component declares attribute 'artifactType' with value 'jar' and the consumer needed attribute 'artifactType' with value 'dll' - Configuration ':myElements' variant secondary declares attribute 'color' with value 'blue':
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:55:38 UTC 2024 - 45K bytes - Viewed (0) -
src/go/types/stmt.go
// _ := x.(type) is an invalid short variable declaration check.softErrorf(lhs, NoNewVar, "no new variable on left side of :=") lhs = nil // avoid declared and not used error below } else { check.recordDef(lhs, nil) // lhs variable is implicitly declared in each cause clause } rhs = guard.Rhs[0] default: check.error(s, InvalidSyntaxTree, "incorrect form of type switch guard") return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/MavenComponentParser.java
warnings.addUnsupported(String.format("%s:%s:%s declared with Gradle attributes", dependency.getGroup(), dependency.getName(), dependency.getVersion())); } if (!dependency.getRequestedCapabilities().isEmpty()) { warnings.addUnsupported(String.format("%s:%s:%s declared with Gradle capabilities", dependency.getGroup(), dependency.getName(), dependency.getVersion()));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 27 18:52:27 UTC 2024 - 26.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_version_alignment.adoc
==== By using the `belongsTo` with `false` (**not** virtual), we declare that all modules belong to the same _published platform_. In this case, the platform is `com.fasterxml.jackson:jackson-bom` and Gradle will look for it, as for any other module, in the declared repositories. .Making use of a dependency version alignment rule ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 10.1K bytes - Viewed (0)