- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 144 for getURI (0.13 sec)
-
subprojects/core/src/test/groovy/org/gradle/configuration/DefaultInitScriptProcessorTest.groovy
def uri = new URI("file:///foo") def initScriptMock = Stub(ScriptSource) { getResource() >> Stub(TextResource) { getLocation() >> Stub(ResourceLocation) { getURI() >> uri } } } def gradleMock = Mock(GradleInternal) def siblingScope = Mock(ClassLoaderScope) def scriptHandler = Mock(ScriptHandlerInternal)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 2.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/IvySftpRepository.groovy
this.server = server this.backingRepository = new IvyFileRepository(server.file(contextPath.substring(1)), m2Compatible, dirPattern, ivyFilePattern, artifactFilePattern) } URI getUri() { return new URI("${serverUri}${contextPath}") } URI getServerUri() { server.uri } String getIvyPattern() { return "$uri/${backingRepository.baseIvyPattern}"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.4K bytes - Viewed (0) -
testing/performance/src/templates/project-with-source/pom.xml
<packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <% if (repository ) { %> <repositories> <repository> <id>local-repo</id> <url>${repository.getUri()}</url> </repository> </repositories> <% } %> <dependencies> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 08:47:11 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/IvyS3Repository.groovy
this.bucket = bucket this.backingRepository = new IvyFileRepository(repoDir, m2Compatible, dirPattern, ivyFilePattern, artifactFilePattern) this.repositoryPath = repositoryPath } URI getUri() { new URI("s3://${bucket}${repositoryPath}") } @Override String getIvyPattern() { return "$uri/${backingRepository.baseIvyPattern}" } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Resource.java
this.s3Object = s3Object; this.uri = uri; } @Override public InputStream openStream() throws IOException { return s3Object.getObjectContent(); } public URI getURI() { return uri; } public long getContentLength() { return s3Object.getObjectMetadata().getContentLength(); } public boolean isLocal() { return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/local/FileResourceConnector.java
return new DefaultLocallyAvailableExternalResource(originUri, file, originMetadata, fileSystem); } private static File getFile(ExternalResourceName location) { return new File(location.getUri()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/DefaultInitScriptProcessor.java
} @Override public void process(final ScriptSource initScript, GradleInternal gradle) { ClassLoaderScope baseScope = gradle.getClassLoaderScope(); URI uri = initScript.getResource().getLocation().getURI(); String id = uri == null ? idGenerator.generateId().toString() : uri.toString(); ClassLoaderScope scriptScope = baseScope.createChild("init-" + id, null);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 2.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForProjectConfigurationOperationsTest.groovy
def scriptPluginApplicationResult = Stub(InternalPluginApplicationResult) _ * scriptPluginApplicationResult.getPlugin() >> Stub(InternalScriptPluginIdentifier) { getUri() >> new File(rootDir, "build.gradle").toURI() } _ * scriptPluginApplicationResult.getTotalConfigurationTime() >> Duration.ofMillis(42)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 12.7K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/ResourceLocation.java
* contain text encoded with a different encoding or represent a directory. * * @return The URI for this resource. Returns null if this resource does not have a URI. */ @Nullable URI getURI();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpRepository.groovy
} this.contextPath = contextPath this.server = server this.metadataType = metadataType this.backingRepository = backingRepository } URI getUri() { return new URI("${server.uri}${contextPath}") } HttpResource getModuleMetaData(String groupId, String artifactId) { return module(groupId, artifactId).rootMetaData } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.7K bytes - Viewed (0)