Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for checkDeps (0.2 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationMutationIntegrationTest.groovy

            when:
            buildFile << """
    configurations.compile.withDependencies {
        throw new RuntimeException("Bad user code")
    }
    """
    
            then:
            resolve.prepare()
            fails ":checkDeps"
    
            failure.assertHasCause("Bad user code")
        }
    
        @ToBeFixedForConfigurationCache(because = "task uses Configuration API")
        def "cannot add withDependencies rule after configuration has been used"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:56 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            return this
        }
    
        /**
         * Creates a 'checkDeps' task that resolves the given configuration.
         */
        void prepare(String configToCheck) {
            prepare {
                config(configToCheck, "checkDeps")
            }
        }
    
        /**
         * Injects the appropriate stuff into the build script. By default, creates a 'checkDeps' task that resolves the configuration provided in the constructor.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy

            buildArgs = args as List
        }
    
        private void checkDependencies() {
            resolve.prepare()
            execute(buildA, ":checkDeps", buildArgs)
        }
    
        private void checkDependenciesFails() {
            resolve.prepare()
            fails(buildA, ":checkDeps", buildArgs)
        }
    
        void checkGraph(@DelegatesTo(ResolveTestFixture.NodeBuilder) Closure closure) {
            resolve.expectGraph {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:37:49 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyModuleResolveIntegrationTest.groovy

                .configuration('b', extendsFrom: ["parent"])
                .configuration('c', extendsFrom: ["b"])
                .publish()
    
            when:
            run ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(":", "org.test:test:1.0") {
                    module("ivy.configuration:projectA:1.2") {
                        configuration("a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. Makefile

    GOLANGCI_DIR = .bin/golangci/$(GOLANGCI_VERSION)
    GOLANGCI = $(GOLANGCI_DIR)/golangci-lint
    
    all: build
    
    checks: ## check dependencies
    	@echo "Checking dependencies"
    	@(env bash $(PWD)/buildscripts/checkdeps.sh)
    
    help: ## print this help
    	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-40s\033[0m %s\n", $$1, $$2}'
    
    getdeps: ## fetch necessary dependencies
    	@mkdir -p ${GOPATH}/bin
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ProjectDependencyResolveIntegrationTest.groovy

                }
                dependencies { compile project(path: ':a', configuration: 'compile') }
    '''
            resolve.prepare("testCompile")
    
            when:
            run ":checkDeps"
    
            then:
            executedAndNotSkipped ":a:aJar", ":b:bJar"
            resolve.expectDefaultConfiguration("compile")
            resolve.expectGraph {
                root(":", ":test:") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

            def constraintVersion = lockMode() == LockMode.LENIENT ? "1.0" : "{strictly 1.0}"
            def extraReason = lockMode() == LockMode.LENIENT ? " (update/lenient mode)" : ""
    
            when:
            succeeds 'checkDeps'
    
            then:
            resolve.expectDefaultConfiguration('runtime')
            resolve.expectGraph {
                root(":", ":depLock:") {
                    edge("org:foo:1.+", "org:foo:1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

    import org.jetbrains.kotlin.fir.FirElement
    import org.jetbrains.kotlin.fir.analysis.checkers.ConeTypeCompatibilityChecker
    import org.jetbrains.kotlin.fir.analysis.checkers.ConeTypeCompatibilityChecker.isCompatible
    import org.jetbrains.kotlin.fir.analysis.checkers.typeParameterSymbols
    import org.jetbrains.kotlin.fir.declarations.FirMemberDeclaration
    import org.jetbrains.kotlin.fir.declarations.FirProperty
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    	"encoding/gob"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"go/token"
    	"io"
    	"log"
    	"os"
    	"strconv"
    	"strings"
    
    	"golang.org/x/tools/go/analysis"
    )
    
    // flags common to all {single,multi,unit}checkers.
    var (
    	JSON    = false // -json
    	Context = -1    // -c=N: if N>0, display offending line plus N lines of context
    )
    
    // Parse creates a flag for each of the analyzer's flags,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Converter.java

       * in the presence of LegacyConverter, at least in the case of users who view the converter as a
       * Function<A, B> or who call convertAll (and for any checkers that apply @PolyNull-like semantics
       * to Converter.convert). So maybe we don't want to think too hard about how to prevent our
       * checkers from issuing errors related to LegacyConverter, since it turns out that
       * LegacyConverter does violate the assumptions we make elsewhere.
       */
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top