- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,190 for moduleB (0.1 sec)
-
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) -
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) -
platforms/documentation/docs/src/snippets/testing/patch-module/kotlin/src/test/java/org/gradle/sample/ModuleBTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; public class ModuleBTest { @Test public void testSomething() { assertEquals("org.gradle.sample", ModuleB.class.getModule().getName()); assertEquals("text", new ModuleB().print()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 338 bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/snippets/testing/patch-module/groovy/src/test/java/org/gradle/sample/ModuleBTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; public class ModuleBTest { @Test public void testSomething() { assertEquals("org.gradle.sample", ModuleB.class.getModule().getName()); assertEquals("text", new ModuleB().print()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 338 bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/AbstractProjectDependencyConflictResolutionIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8K bytes - Viewed (0) -
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyReportTaskIntegrationTest.groovy
def "reports imported BOM as a set of dependency constraints"() { def moduleC = mavenRepo.module('group', 'moduleC', '1.0').publish() def moduleB = mavenRepo.module('group', 'moduleB', '1.0').dependsOn(moduleC).publish() def moduleA = mavenRepo.module('group', 'moduleA', '2.0').dependsOn(moduleB).publish() mavenRepo.module('group', 'bom', '1.0') .hasType("pom")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 25 05:32:54 UTC 2023 - 31.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/ivy/AbstractIvyRemoteRepoResolveIntegrationTest.groovy
def repo1 = server.getRemoteIvyRepo("/repo1") def repo2 = server.getRemoteIvyRepo("/repo2") def moduleA = repo1.module('group', 'projectA') moduleA.publish() def missingModuleB = repo1.module('group', 'projectB') def moduleB = repo2.module('group', 'projectB') moduleB.publish() and: buildFile << """ repositories { ivy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.9K bytes - Viewed (0) -
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) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyChangingModuleRemoteResolveIntegrationTest.groovy
when: "Module meta-data is changed (new artifact)" module.artifact([name: 'other']) module.dependsOn("group", "projectB", "2.0") module.publish() def moduleB = ivyHttpRepo.module("group", "projectB", "2.0").publish() and: "Server handles requests" server.resetExpectations() // Server will be hit to get updated versions module.ivy.expectHead()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9.4K bytes - Viewed (0)