- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 108 for ArtifactFile (0.46 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 7.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenFileModuleTest.groovy
when: TestFile artifactFile = mavenFileModule.getArtifactFile([:]) then: artifactFile != null artifactFile.name == 'my-artifact-1.0.jar' } def "Get artifact file for snapshot"() { when: TestFile artifactFile = snapshotMavenFileModule.getArtifactFile() then: artifactFile != null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/InMemoryModuleArtifactCache.java
} @Override public void store(ArtifactAtRepositoryKey key, File artifactFile, HashCode moduleDescriptorHash) { inMemoryCache.put(key, new DefaultCachedArtifact(artifactFile, timeProvider.getCurrentTime(), moduleDescriptorHash)); if (delegate != null) { delegate.store(key, artifactFile, moduleDescriptorHash); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 2.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java
File artifactFile = Files.createTempFile("foo", "tmp").toFile(); try { mavenProjectHelper.attachArtifact(mavenProject, "java-source", artifactFile); assertEquals(1, mavenProject.getAttachedArtifacts().size()); mavenProjectHelper.attachArtifact(mavenProject, "java-source", artifactFile); assertEquals(1, mavenProject.getAttachedArtifacts().size());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 4.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
String path = repository.pathOf(artifact); File artifactFile = new File(repository.getBasedir(), path); if (!artifactFile.getParentFile().exists()) { artifactFile.getParentFile().mkdirs(); } try (Writer writer = new OutputStreamWriter(new FileOutputStream(artifactFile), StandardCharsets.ISO_8859_1)) { writer.write(artifact.getId()); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 13.8K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/MavenJarCreator.groovy
void createJar(MavenModule mavenModule, File artifactFile) { try { artifactFile.withOutputStream { stream -> ZipOutputStream out = new ZipOutputStream(stream) out.setLevel(Deflater.NO_COMPRESSION) try { addZipEntry(out, artifactFile.name + ".properties", "testcontent") if (minimumSizeKB > 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 05 09:51:22 UTC 2021 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultModuleArtifactCache.java
assertArtifactFileNotNull(artifactFile); assertKeyNotNull(key); storeInternal(key, createEntry(artifactFile, moduleDescriptorHash)); } private DefaultCachedArtifact createEntry(File artifactFile, HashCode moduleDescriptorHash) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/type/DefaultArtifactTypeRegistryTest.groovy
} def "maps only artifactType attribute for arbitrary files when no extensions are registered"() { expect: registry.mapAttributesFor(artifactFile).getAttribute(ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE) == type where: artifactFile | type file("foo.jar") | ArtifactTypeDefinition.JAR_TYPE file("foo.zip") | ArtifactTypeDefinition.ZIP_TYPE file("foo.bar") | "bar"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 14:43:17 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/UrlBackedArtifactMetadata.java
} public String getRelativeUrl() { return relativeUrl; } @Override public IvyArtifactName getName() { if (ivyArtifactName == null) { ArtifactFile names = new ArtifactFile(relativeUrl, uniqueVersion()); ivyArtifactName = new DefaultIvyArtifactName(names.getName(), names.getExtension(), names.getExtension(), names.getClassifier()); } return ivyArtifactName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 22:04:14 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseDependencyLockingIntegrationTest.groovy
mvnRepo.module("groupOne", "artifactOne").publish() def artifactOne = mvnRepo.module("groupOne", "artifactOne", "1.1").publish().artifactFile def artifactTwo = mvnRepo.module("groupOne", "artifactTwo", "2.0").publish().artifactFile file('gradle/dependency-locks/compileClasspath.lockfile') << 'groupOne:artifactOne:1.1' //when runEclipseTask """ apply plugin: 'java'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.8K bytes - Viewed (0)