- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for ResourceLocation (0.23 sec)
-
platforms/software/resources/src/main/java/org/gradle/internal/resource/ResourceLocation.java
package org.gradle.internal.resource; import javax.annotation.Nullable; import java.io.File; import java.net.URI; /** * Represents the location or identity of a resource. */ public interface ResourceLocation { /** * Returns a display name for the resource. This can be used in log and error messages. * * @return the display name */ String getDisplayName(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/configuration/BuildOperationScriptPlugin.java
private final UserCodeApplicationId applicationId; private OperationDetails(File file, ResourceLocation resourceLocation, @Nullable ConfigurationTargetIdentifier identifier, UserCodeApplicationId applicationId) { this.file = file; this.resourceLocation = resourceLocation; this.identifier = identifier; this.applicationId = applicationId; } @Override @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy
} def "should return correct ResourceLocation"() { when: downloadedFile.text = "Some content" underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver) def resourceLocation = underTest.getLocation() then: resourceLocation.getDisplayName() == "Test description '$sourceUri'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 5.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/DefaultInitScriptProcessorTest.groovy
import org.gradle.api.internal.initialization.ScriptHandlerFactory import org.gradle.api.internal.initialization.ScriptHandlerInternal import org.gradle.groovy.scripts.ScriptSource import org.gradle.internal.resource.ResourceLocation import org.gradle.internal.resource.TextResource import spock.lang.Specification class DefaultInitScriptProcessorTest extends Specification { void "can execute init script"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 2.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AggregatingProcessingStrategy.java
GeneratedResource.Location resourceLocation = GeneratedResource.Location.from(location); if (resourceLocation == null) { result.setFullRebuildCause(location + " is not supported for incremental annotation processing"); } else { result.getGeneratedAggregatingResources().add(new GeneratedResource(resourceLocation, pkg, relativeName)); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 29 15:12:07 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/IsolatingProcessingStrategy.java
GeneratedResource.Location resourceLocation = GeneratedResource.Location.from(location); if (resourceLocation == null) { result.setFullRebuildCause(location + " is not supported for incremental annotation processing"); return; } GeneratedResource generatedResource = new GeneratedResource(resourceLocation, pkg, relativeName);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/BuildOperationScriptPluginTest.groovy
import org.gradle.internal.Describables import org.gradle.internal.code.DefaultUserCodeApplicationContext import org.gradle.internal.operations.TestBuildOperationRunner import org.gradle.internal.resource.ResourceLocation import org.gradle.internal.resource.TextResource import spock.lang.Specification class BuildOperationScriptPluginTest extends Specification { def buildOperationRunner = new TestBuildOperationRunner()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 3K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/StringTextResource.java
return null; } @Override public ResourceLocation getLocation() { return new StringResourceLocation(displayName); } @Override public boolean getExists() { return true; } private static class StringResourceLocation implements ResourceLocation { private final String displayName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy
*/ @CompileStatic class HelperProcessorFixture extends AnnotationProcessorFixture { String message = "greetings" boolean writeResources boolean withMultipleOriginatingElements String resourceLocation = StandardLocation.CLASS_OUTPUT.toString() private String suffix = "" HelperProcessorFixture() { super("Helper") declaredType = IncrementalAnnotationProcessorType.DYNAMIC }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/ServiceRegistryProcessorFixture.groovy
* other classes, but could simply serve as an entry point for reading the resource file. */ @CompileStatic class ServiceRegistryProcessorFixture extends AnnotationProcessorFixture { String resourceLocation = StandardLocation.CLASS_OUTPUT.toString() ServiceRegistryProcessorFixture() { super("Service") declaredType = IncrementalAnnotationProcessorType.AGGREGATING } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.1K bytes - Viewed (0)