Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 654 for declareNS (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/io/Closer.java

       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       * @throws X1 when the given throwable is of the declared type X1
       * @throws X2 when the given throwable is of the declared type X2
       */
      public <X1 extends Exception, X2 extends Exception> RuntimeException rethrow(
          Throwable e, Class<X1> declaredType1, Class<X2> declaredType2) throws IOException, X1, X2 {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Closer.java

       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       * @throws X1 when the given throwable is of the declared type X1
       * @throws X2 when the given throwable is of the declared type X2
       */
      public <X1 extends Exception, X2 extends Exception> RuntimeException rethrow(
          Throwable e, Class<X1> declaredType1, Class<X2> declaredType2) throws IOException, X1, X2 {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top