Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,190 for ModuleC (0.15 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDescriptorDependencyExcludeResolveIntegrationTest.groovy

            IvyModule moduleB = ivyRepo.module('b').dependsOn('c')
            IvyModule moduleA = ivyRepo.module('a').dependsOn('b')
    
            addExcludeRuleToModuleDependency(moduleA, 'b', excludePath1)
            addExcludeRuleToModuleDependency(moduleB, 'c', excludePath2)
    
            moduleB.publish()
            moduleC.publish()
            moduleA.publish()
    
            when:
            succeedsDependencyResolution()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyArtifactsIntegrationTest.groovy

                artifacts {
                    other myJar
                }
    """
            def moduleC = mavenRepo.module("org.test", "buildC", "1.0").publish()
    
            when:
            resolveArtifacts()
    
            then:
            executed ":buildB:myJar"
            assertResolved buildB.file('build/libs/buildB-1.0-my.jar'), moduleC.artifactFile
        }
    
        def "builds substituted dependency with non-default artifactType"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:28 UTC 2020
    - 21.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/AbstractDependencyMetadataRulesIntegrationTest.groovy

            //Here we add a module with Gradle metadata which defines a variant that uses the same attributes declared in the build script (format: "custom").
            //The dependency to this module is then added using the rule and thus is matched correctly.
            mavenGradleRepo.module("org.test", "moduleC").withModuleMetadata().variant("anotherVariantWithFormatCustom", [format: "custom"]).publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 36.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/ModuleForcingResolveRuleSpec.groovy

            newSelector(mid("org", "module2"), "0.9")            | "2.0"
            newSelector(mid("org", "module2"), "2.1")            | "2.0"
            newSelector(mid("org", "module:with:colon"), "2.0")  | "3.0"
            newSelector(mid("org:with:colon", "module2"), "5.0") | "4.0"
        }
    
        def "does not force modules if they dont match"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/patch-module/groovy/src/main/java/org/gradle/sample/ModuleB.java

    package org.gradle.sample;
    
    import org.gradle.sample.internal.ModuleBInternal;
    
    public class ModuleB {
        private ModuleBInternal internal = new ModuleBInternal();
    
        protected String print() {
            String text = "text";
            return text;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 256 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/testing/patch-module/kotlin/src/main/java/org/gradle/sample/ModuleB.java

    package org.gradle.sample;
    
    import org.gradle.sample.internal.ModuleBInternal;
    
    public class ModuleB {
        private ModuleBInternal internal = new ModuleBInternal();
    
        protected String print() {
            String text = "text";
            return text;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 256 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyFileRepoResolveIntegrationTest.groovy

            given:
            def repo = ivyRepo()
            def moduleA = repo.module('group', 'projectA', '1.2')
            moduleA.publish()
            def moduleB = repo.module('group', 'projectB', '9-beta')
            moduleB.publish()
    
            and:
            buildFile << """
    repositories {
        ivy {
            artifactPattern "${repo.uri}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. module.xml

    	<target name="install.module">
    		<get dest="${target.dir}">
    			<url url="${repo.url}/${module.groupId}/${module.name.prefix}${module.name}/${module.version}/${module.name.prefix}${module.name}-${module.zip.version}.zip" />
    		</get>
    		<unzip dest="${modules.dir}/${module.name}" src="${target.dir}/${module.name.prefix}${module.name}-${module.zip.version}.zip">
    			<patternset>
    				<include name="**" />
    			</patternset>
    			<cutdirsmapper dirs="1" />
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 16 07:10:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenComponentMetadataRulesChangingModulesIntegrationTest.groovy

        }
    }
    """
        }
    
        def setup() {
            moduleA.rootMetaData.allowGetOrHead()
        }
    
        def "snapshot dependencies have changing flag initialized to true"() {
            def moduleB = repo.module("org.test", "moduleB", "1.0-SNAPSHOT").publish()
            moduleB.allowAll()
    
            buildFile <<
    """
    $repoDeclaration
    configurations {
        modules
    }
    
    class SavingRule implements ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseDependencySubstitutionIntegrationTest.groovy

        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void "transitive external dependency substituted with project dependency"() {
            mavenRepo.module("org.gradle", "module1").dependsOnModules("module2").publish()
            mavenRepo.module("org.gradle", "module2").publish()
    
            createDirs("project1", "project2")
            runEclipseTask("include 'project1', 'project2'", """
    allprojects {
        apply plugin: "java"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top