Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for someConf (0.31 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/dependencies/DefaultDependencyHandlerTest.groovy

        }
    
        void "dynamic method fails for no args"() {
            when:
            dependencyHandler.someConf()
    
            then:
            def e = thrown(MissingMethodException)
            e.message.startsWith('Could not find method someConf() for arguments [] on ')
        }
    
        void "creates a project dependency from map"() {
            ProjectDependency projectDependency = Mock()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 10:37:21 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishExternalVariantIntegrationTest.groovy

                    compilation("first")
                }}
            """
    
            buildFile << """
                configurations {
                    dependencyScope("someConf")
                    resolvable("resolvableConf") {
                        extendsFrom(someConf)
                    }
                }
    
                firstChildComponent.withVariantsFromConfiguration(configurations.firstRuntimeElements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedConfigurationIntegrationTest.groovy

                        assert unresolved.size() == 0
    
                        LenientConfiguration someConf = configurations.someConf.resolvedConfiguration.lenientConfiguration
    
                        unresolved = someConf.getUnresolvedModuleDependencies()
                        resolved = someConf.getFirstLevelModuleDependencies(Specs.SATISFIES_ALL)
    
                        assert resolved.size() == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy

            buildFile << """
    configurations {
        ${mavenCentralRepository()}
        someConf {
            allprojects { }
        }
    }
    assert configurations.names as List == ['repositories', 'someConf'] // side effect is that the configuration is actually created
    assert repositories.size() == 1
    """
    
            expect:
            fails "help"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         * allowing the CAS below to succeed.
         */
        Thread currentThread = Thread.currentThread();
        if (!compareAndSet(null, currentThread)) {
          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         * allowing the CAS below to succeed.
         */
        Thread currentThread = Thread.currentThread();
        if (!compareAndSet(null, currentThread)) {
          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top