- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 108 for ArtifactFile (0.29 sec)
-
build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/MavenModule.groovy
} void createEmptyJar(File artifactFile) { mavenJarCreator.createJar(this, artifactFile) } private File publishArtifact(Map<String, ?> artifact) { def artifactFile = artifactFile(artifact) if (type != 'pom') { if (type == 'jar') { createEmptyJar(artifactFile) } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/DefaultArtifactResolutionCacheTest.groovy
def key = "key" def artifactFile = tmp.createFile("artifact") << "content" when: index.store(key, artifactFile, new DefaultExternalResourceMetaData(new URI("abc"), lastModified, 100, contentType, etag, sha1, null, false)) then: def cached = index.lookup(key) and: cached != null cached.cachedFile == artifactFile cached.cachedAt == 1234L
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java
artifact.setFile(artifactFile); artifact.setResolved(true); attachArtifact(project, artifact); } public void attachArtifact(MavenProject project, String artifactType, File artifactFile) { ArtifactHandler handler = artifactHandlerManager.getArtifactHandler(artifactType);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 4.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifierTest.groovy
ArtifactVerificationOperation.ArtifactKind kind ModuleComponentArtifactIdentifier artifact File artifactFile = Mock(File) File signatureFile = Mock(File) @Issue("https://github.com/gradle/gradle/issues/11999") def "handles duplicate keys"() { artifact("org", "foo", "1.0") when: artifactFile.exists() >> true signatureFile.exists() >> true verify() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 17 13:23:37 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/RepositoryChainArtifactResolverTest.groovy
it[2].resolved(artifactFile) } 0 * _._ and: result.result.file == artifactFile when: resolver.resolveArtifact(component, artifact, result) then: result.hasResult() result.result.file == artifactFile and: 0 * _._ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/LazyPublishArtifact.java
} return delegate; } private PublishArtifactInternal fromFile(File file) { ArtifactFile artifactFile = new ArtifactFile(file, version); return new DefaultPublishArtifact(taskDependencyFactory, artifactFile.getName(), artifactFile.getExtension(), artifactFile.getExtension(), artifactFile.getClassifier(), null, file); } @Override public TaskDependency getBuildDependencies() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/PublishArtifactNotationParserFactory.java
Module module = metaDataProvider.getModule(); ArtifactFile artifactFile = new ArtifactFile(file, module.getVersion()); return instantiator.newInstance(DefaultPublishArtifact.class, taskDependencyFactory, artifactFile.getName(), artifactFile.getExtension(), artifactFile.getExtension(), artifactFile.getClassifier(), null, file, new Task[0]); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenGcsSnapshotRepoIntegrationTest.groovy
run 'retrieve' then: succeeds 'retrieve' and: localModule.artifactFile.assertIsDifferentFrom(module.artifactFile) localModule.pomFile.assertIsDifferentFrom(module.pomFile) file("libs/test-${artifactVersion}.jar").assertIsCopyOf(module.artifactFile) } @ToBeFixedForConfigurationCache(skip = ToBeFixedForConfigurationCache.Skip.FAILS_TO_CLEANUP)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/TwoStageByUrlCachedExternalResourceIndex.java
} @Override public void store(String key, File artifactFile, @Nullable ExternalResourceMetaData metaData) { if (artifactFile.toPath().startsWith(readOnlyCachePath)) { // skip writing because the file comes from the RO cache return; } writableCache.store(key, artifactFile, metaData); } @Override public void storeMissing(String key) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy
module.artifact(classifier: 'tests') module.publish() def baseJar = module.artifactFile def extraJar = module.artifactFile(classifier: 'extra') def testsJar = module.artifactFile(classifier: 'tests') def anotherJar = mavenRepo.module('coolGroup', 'another', '1.0').publish().artifactFile //when: runEclipseTask """ apply plugin: 'java' apply plugin: 'eclipse'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 36.8K bytes - Viewed (0)