Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withColorVariants (0.27 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/UndeclaredDependencyResolutionIntegrationTest.groovy

            output.count("result = [one-1.0.jar.green, two-1.0.jar.green]") == 2
        }
    
        private void setupBuildWithExternalArtifactTransforms() {
            withColorVariants(mavenRepo.module("one", "one")).publish()
            withColorVariants(mavenRepo.module("two", "two")).publish()
    
            setupBuildWithColorTransformImplementation()
    
            buildFile << """
                repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

            httpServer.start()
            def dep1 = withColorVariants(remoteRepo.module("group", "thing1", "1.2")).publish().allowAll()
            def dep2 = withColorVariants(remoteRepo.module("group", "thing2", "1.2")).publish().allowAll()
            withColorVariants(remoteRepo.module("group", "thing3", "1.2")).dependsOn(dep1).dependsOn(dep2).publish().allowAll()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy

                rootProject.name = 'transform-deps'
                include 'common', 'lib', 'app'
            """
            withColorVariants(mavenHttpRepo.module("org.slf4j", "slf4j-api", "1.7.24")).publish().allowAll()
            withColorVariants(mavenHttpRepo.module("org.slf4j", "slf4j-api", "1.7.25")).publish().allowAll()
            withColorVariants(mavenHttpRepo.module("junit", "junit", "4.11"))
                .dependsOn("hamcrest", "hamcrest-core", "1.3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 54.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformInputArtifactIntegrationTest.groovy

            setupBuildWithColorTransform()
            def lib1 = withColorVariants(mavenRepo.module("group1", "lib", "1.0")).publish()
            lib1.artifactFile.text = "lib"
            def lib2 = withColorVariants(mavenRepo.module("group2", "lib", "1.0")).publish()
            lib2.artifactFile.text = "lib"
            def lib3 = withColorVariants(mavenRepo.module("group2", "lib", "1.1")).publish()
            lib3.artifactFile.text = "lib"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 27 19:15:32 UTC 2023
    - 51.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformTestFixture.groovy

        abstract TestFile getBuildFile()
    
        abstract ExecutionResult getResult()
    
        /**
         * Defines a 'blue' variant for the given module.
         */
        def <T extends MavenModule> T withColorVariants(T module) {
            module.adhocVariants().variant('runtime', [color: 'blue']).withModuleMetadata()
            return module
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 15:06:39 UTC 2023
    - 21.7K bytes
    - Viewed (0)
Back to top