Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for declareNS (0.29 sec)

  1. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    The <<plugins#sec:subprojects_plugins_dsl,Using Gradle plugins>> chapter explains how you can declare plugins in the root project build script with a version and then apply them to the appropriate subprojects' build scripts. What follows is an example of this approach using three subprojects and three plugins. Note how the root build script only declares the community plugins as the Java Library Plugin is tied to the version of Gradle you are using:
    
    [[ex:multi_project_ratpack]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    Build logic like the above example creates challenges in resolving declared dependencies, as reporting tools will display this dependency as if the user declared the version as "2.0", even though they never did.
    Instead, the build logic can avoid iteration and mutation by declaring a `preferred` version constraint on the dependency's coordinates.
    This allows the dependency management engine to use the version declared on the constraint if no other version is declared.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

    The Property instances need to be declared as inputs or outputs in the usual ways, such as attaching annotations such as `@OutputFile` or using the runtime API to register the property.
    
    For example, you could previously use the following syntax and have both outputFile instances registered as declared outputs:
    
    ====
    [.multi-language-sample]
    =====
    .build.gradle
    [source,groovy]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderProfileTest.groovy

            assertResolvedPomDependencyManagement(key, 'version-two')
            pomReader.findDependencyDefaults(key) == pomReader.dependencyMgt[key]
        }
    
        def "finds dependency default if declared in active profile"() {
            when:
            pomFile << """
    <project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>group-one</groupId>
        <artifactId>artifact-one</artifactId>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy

            metadata.moduleVersionId.group == 'test'
            metadata.moduleVersionId.name == 'child_2.12'
            metadata.moduleVersionId.version == '1.0.0'
    
        }
    
        def "merges dependencies declared in pom with those declared in parent"() {
            given:
            def parent = tmpDir.file("parent.xlm") << """
    <project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>group-one</groupId>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 75.4K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    //   GTEST_AMBIGUOUS_ELSE_BLOCKER_ - for disabling a gcc warning.
    //   GTEST_ATTRIBUTE_UNUSED_  - declares that a class' instances or a
    //                              variable don't have to be used.
    //   GTEST_DISALLOW_ASSIGN_   - disables operator=.
    //   GTEST_DISALLOW_COPY_AND_ASSIGN_ - disables copy ctor and operator=.
    //   GTEST_MUST_USE_RESULT_   - declares that a function's result must be used.
    //
    // Synchronization:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AlignmentIntegrationTest.groovy

                    conf 'org.apache.groovy:json:2.5'
                    conf 'org.springframework:core:1.0'
                }
            """
    
            and:
            'a rule which declares that Groovy belongs to the Groovy and the Spring platforms'()
    
            when:
            expectAlignment {
                module('core') {
                    group('org.apache.groovy') tries('2.4') alignsTo('2.5')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 59.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    //   GTEST_AMBIGUOUS_ELSE_BLOCKER_ - for disabling a gcc warning.
    //   GTEST_ATTRIBUTE_UNUSED_  - declares that a class' instances or a
    //                              variable don't have to be used.
    //   GTEST_DISALLOW_ASSIGN_   - disables operator=.
    //   GTEST_DISALLOW_COPY_AND_ASSIGN_ - disables copy ctor and operator=.
    //   GTEST_MUST_USE_RESULT_   - declares that a function's result must be used.
    //
    // Synchronization:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeToken.java

      private static WildcardType canonicalizeWildcardType(
          TypeVariable<?> declaration, WildcardType type) {
        Type[] declared = declaration.getBounds();
        List<Type> upperBounds = new ArrayList<>();
        for (Type bound : type.getUpperBounds()) {
          if (!any(declared).isSubtypeOf(bound)) {
            upperBounds.add(canonicalizeWildcardsInType(bound));
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeToken.java

      private static WildcardType canonicalizeWildcardType(
          TypeVariable<?> declaration, WildcardType type) {
        Type[] declared = declaration.getBounds();
        List<Type> upperBounds = new ArrayList<>();
        for (Type bound : type.getUpperBounds()) {
          if (!any(declared).isSubtypeOf(bound)) {
            upperBounds.add(canonicalizeWildcardsInType(bound));
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
Back to top