- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 67 for TextResource (0.16 sec)
-
subprojects/core/src/main/java/org/gradle/configuration/BuildOperationScriptPlugin.java
import org.gradle.internal.operations.BuildOperationRunner; import org.gradle.internal.operations.RunnableBuildOperation; import org.gradle.internal.resource.ResourceLocation; import org.gradle.internal.resource.TextResource; import javax.annotation.Nullable; import java.io.File; import java.net.URI; /** * A decorating {@link ScriptPlugin} implementation that delegates to a given
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/main/java/org/gradle/internal/resource/DownloadedUriTextResource.java
import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.net.URI; import java.nio.charset.Charset; /** * A {@link TextResource} implementation backed by a {@link UriTextResource}. This helps hide the internal details about file caching. */ public class DownloadedUriTextResource extends UriTextResource { private final String contentType;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt
import org.gradle.initialization.ClassLoaderScopeOrigin import org.gradle.internal.Describables import org.gradle.internal.classpath.ClassPath import org.gradle.internal.hash.TestHashCodes import org.gradle.internal.resource.TextResource import org.gradle.internal.service.ServiceRegistry import org.gradle.kotlin.dsl.fixtures.DummyCompiledScript import org.gradle.kotlin.dsl.fixtures.TestWithTempFiles import org.gradle.kotlin.dsl.fixtures.assertStandardOutputOf
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/CachingTextResourceTest.groovy
package org.gradle.internal.resource import org.gradle.api.resources.MissingResourceException import spock.lang.Specification class CachingTextResourceTest extends Specification { def target = Mock(TextResource) def resource = new CachingTextResource(target) def fetchesAndCachesContentWhenExistenceIsChecked() { when: assert resource.exists assert resource.text == 'content'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/StringTextResource.java
import javax.annotation.Nullable; import java.io.File; import java.io.Reader; import java.io.StringReader; import java.net.URI; import java.nio.charset.Charset; public class StringTextResource implements TextResource { private static final HashCode SIGNATURE = Hashing.signature(StringTextResource.class); private final String displayName; private final CharSequence contents; private HashCode contentHash;
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/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 26.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/resource/BrokenTextResourceIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/api/tasks/application/CreateStartScripts.java
* This templates can be changed via the {@link org.gradle.jvm.application.scripts.TemplateBasedScriptGenerator#setTemplate(org.gradle.api.resources.TextResource)} method. * <p> * The default implementations used by this task use <a href="https://docs.groovy-lang.org/latest/html/documentation/template-engines.html#_simpletemplateengine">Groovy's SimpleTemplateEngine</a>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java
import java.net.JarURLConnection; import java.net.URI; import java.net.URLConnection; import java.nio.charset.Charset; /** * A {@link TextResource} implementation backed by a URI. Defaults content encoding to UTF-8. */ public class UriTextResource implements TextResource { private static final HashCode SIGNATURE = Hashing.signature(UriTextResource.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy
import org.gradle.internal.hash.HashCode import org.gradle.internal.hash.Hashing import org.gradle.internal.reflect.JavaReflectionUtil import org.gradle.internal.resource.StringTextResource import org.gradle.internal.resource.TextResource import org.gradle.internal.serialize.BaseSerializerFactory import org.gradle.internal.serialize.Serializer import org.gradle.internal.serialize.kryo.KryoBackedDecoder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 08:24:10 UTC 2023 - 19.4K bytes - Viewed (0)