Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 186 for someConf (0.21 sec)

  1. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ResolvableConfigurationsReportTaskIntegrationTest.groovy

        }
    
        def "If multiple resolvable configurations present with attributes, task reports them all, sorted alphabetically"() {
            given:
            buildFile << """
                configurations.create("someConf") {
                    description = "My first custom configuration"
                    assert canBeResolved
                    canBeConsumed = false
    
                    attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

                        foo
                        bar
                        someConf {
                            canBeConsumed = false
                        }
                    }
                    ${fooAndBarJars()}
                }
            """
    
            when:
            fails ':a:checkDebug'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/OutgoingVariantsReportTaskIntegrationTest.groovy

        }
    
        def "If multiple outgoing variants present with attributes, task reports them all, sorted alphabetically"() {
            given:
            buildFile << """
                configurations.create("someConf") {
                    description = "My first custom configuration"
                    canBeResolved = false
                    assert canBeConsumed
    
                    attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyHandler.java

     *     id 'java' // so that I can declare 'implementation' dependencies
     * }
     *
     * dependencies {
     *   //configuring dependency to specific configuration of the module
     *   implementation configuration: 'someConf', group: 'org.someOrg', name: 'someModule', version: '1.0'
     *
     *   //configuring dependency on 'someLib' module
     *   implementation(group: 'org.myorg', name: 'someLib', version:'1.0') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:16:36 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/DependencyInsightReportTask.java

                    + "\nIt can be specified from the command line, e.g: '" + getPath() + " --configuration someConf --dependency someDep'");
            }
    
            if (getDependencySpec() == null) {
                throw new InvalidUserDataException("Dependency insight report cannot be generated because the dependency to show was not specified."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    creates an unconfigured `repositories` Configuration:
    
    ```groovy
    configurations {
        repositories {
            mavenCentral()
        }
        someConf {
            canBeConsumed = false
            canBeResolved = false
        }
    }
    ```
    
    The behavior also applies to closures which do not immediately execute.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InterfaceBackedManagedTypeIntegrationTest.groovy

                apply type: RulePlugin
            '''
    
            then:
            succeeds "echo"
    
            and:
            output.contains("person: Person 'someone'")
            output.contains("name: someone")
            output.contains("display-name: Person 'someone'")
        }
    
        def "rule method can apply defaults to a managed model element"() {
            when:
            buildScript '''
                @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. hack/dev-push-conformance.sh

    # This script builds some binaries and then the conformance image.
    # REGISTRY and VERSION must be set.
    # Example usage:
    #   $ export REGISTRY=gcr.io/someone
    #   $ export VERSION=v1.4.0-testfix
    #   ./hack/dev-push-conformance.sh
    # That will build and push gcr.io/someone/conformance-amd64:v1.4.0-testfix
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT="$(dirname "${BASH_SOURCE[0]}")/.."
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 08 02:46:11 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilderTest.groovy

            configurationsProvider.findByName('conf-2') >> resolvable()
    
            def root = builder.toRootComponent('conf')
    
            when:
            def sameConf = builder.toRootComponent('conf')
    
            then:
            sameConf.rootComponent.is(root.rootComponent)
            sameConf.rootComponent.metadata.is(root.rootComponent.metadata)
    
            when:
            def differentConf = builder.toRootComponent('conf-2')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. .github/DISCUSSION_TEMPLATE/questions.yml

          description: |
            Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.
    
            If I (or someone) can copy it, run it, and see it right away, there's a much higher chance I (or someone) will be able to help you.
    
          placeholder: |
            from fastapi import FastAPI
    
            app = FastAPI()
    
    
            @app.get("/")
            def read_root():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top