- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for parseFrom (0.21 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java
DaemonContext context = parseFrom(source, version); if (context == null) { throw new IllegalStateException("unable to parse DefaultDaemonContext from source: [" + source + "]."); } return context; } @Nullable private static DaemonContext parseFrom(String source, GradleVersion version) {
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-30 09:22 - 5.8K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationKotlinDslIntegTest.groovy
module.assertPublished() def parsedPom = module.parsedPom parsedPom.packaging == 'custom-packaging' parsedPom.scopes.runtime.assertDependsOn("junit:junit:4.13") and: parsedPom.name == 'custom-name' parsedPom.description == 'custom-description' parsedPom.url == 'http://example.org/project' parsedPom.inceptionYear == '2018'
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-12 14:02 - 11.6K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationIntegTest.groovy
module.assertPublished() def parsedPom = module.parsedPom parsedPom.packaging == 'custom-packaging' parsedPom.scopes.runtime.assertDependsOn("junit:junit:4.13") and: parsedPom.name == 'custom-name' parsedPom.description == 'custom-description' parsedPom.url == 'http://example.org/project' parsedPom.inceptionYear == '2018'
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-12 14:02 - 18.9K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenScopesTestIntegTest.groovy
dependency('log4j:log4j:1.2.17').exists() noMoreDependencies() } and: mavenMetadata.assertPublished() mavenMetadata.parsedPom.scopes.size() == 1 mavenMetadata.parsedPom.scopes.runtime.assertDependsOn("log4j:log4j:1.2.17") } def "test adding custom variant with dependency mapped to Maven runtime scope, then changed to compile scope"() { given:
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-12 14:02 - 10.8K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomPackagingIntegTest.groovy
classifier "custom" } """ when: succeeds "publish" then: mavenModule.assertPublished() mavenModule.parsedPom.packaging == 'pom' mavenModule.assertArtifactsPublished("publishTest-1.9-custom.txt", "publishTest-1.9.pom") } def "uses 'pom' packaging where multiple artifacts are unclassified"() { given:
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-12 14:02 - 5.4K bytes - Viewed (0) -
platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningSamplesSpec.groovy
and: module.parsedPom.name == "My Library" module.parsedPom.description == "A concise description of my library" module.parsedPom.url == "http://www.example.com/library" module.parsedPom.licenses[0].name.text() == "The Apache License, Version 2.0" module.parsedPom.licenses[0].url.text() == "http://www.apache.org/licenses/LICENSE-2.0.txt"
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-11 12:16 - 10.6K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishExternalVariantIntegrationTest.groovy
def first = javaLibrary(mavenRepo.module('org', 'root-first', '1.0')) def second = javaLibrary(mavenRepo.module('org', 'root-second', '1.0')) !root.parsedPom.scopes.compile !root.parsedPom.scopes.runtime def firstDeps = first.parsedPom.scopes.runtime.dependencies firstDeps.size() == 1 def firstDep = firstDeps.values().first() firstDep.groupId == "org"
Registered: 2024-06-12 18:38 - Last Modified: 2023-12-11 22:25 - 37.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserBomTest.groovy
<artifactId>module-b</artifactId> <version>1.0</version> </dependency> </dependencies> </dependencyManagement> </project> """ when: parsePom() then: def dep = single(metadata.dependencies) dep.selector == moduleId('group-b', 'module-b', '1.0') dep.scope == MavenScope.Compile hasDefaultDependencyArtifact(dep)
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-10 21:10 - 13.5K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/AbstractCppPublishingIntegrationTest.groovy
mainModule.assertArtifactsPublished(getMainModuleArtifacts(module, version)) assert mainModule.parsedPom.scopes.size() == apiDependencies.isEmpty() ? 0 : 1 if (!apiDependencies.isEmpty()) { mainModule.parsedPom.scopes.compile.assertDependsOn(apiDependencies as String[]) } def mainMetadata = mainModule.parsedModuleMetadata
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 6.4K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaPlatformIntegTest.groovy
noMoreDependencies() } javaPlatform.parsedPom.scopes.keySet() == ['compile', 'no_scope'] as Set javaPlatform.parsedPom.scope('compile') { assertDependsOn("org.test:foo:1.1") assertNoDependencyManagement() } javaPlatform.parsedPom.scope('no_scope') { assertNoDependencies()
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-24 06:54 - 8.6K bytes - Viewed (0)