- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for filteringCharset (0.2 sec)
-
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultCopySpecCodec.kt
copySpec.duplicatesStrategy = duplicatesStrategy copySpec.includeEmptyDirs = includeEmptyDirs copySpec.isCaseSensitive = isCaseSensitive copySpec.filteringCharset = filteringCharset if (dirMode != null) { copySpec.dirPermissions.set(fileSystemOperations.permissions(dirMode)) } if (fileMode != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy
child.fileMode == 1 child.dirMode == 2 child.filteringCharset == "ISO_8859_1" where: method << ['from', 'into'] } def 'setting the filteringCharset to invalid value throws an exception'() { when: spec.filteringCharset = "THAT_SURE_IS_AN_INVALID_CHARSET" then: thrown(InvalidUserDataException) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 26 08:05:50 UTC 2023 - 14.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopySpecEncodingIntegrationSpec.groovy
buildScript """ task (copy, type: Copy) { from 'files' into 'dest' expand(one: 1) filteringCharset = 'ISO-8859-1' } """.stripIndent() executer.beforeExecute { it.withDefaultCharacterEncoding('UTF-8') } when: run 'copy' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:45:30 UTC 2023 - 4.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java
public void setFilteringCharset(String charset) { Preconditions.checkNotNull(charset, "filteringCharset must not be null"); if (!Charset.isSupported(charset)) { throw new InvalidUserDataException(String.format("filteringCharset %s is not supported by your JVM", charset)); } this.filteringCharset = charset; } private static class MapBackedExpandAction implements Action<FileCopyDetails> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:25:10 UTC 2024 - 33.6K bytes - Viewed (0) -
okcurl/build.gradle.kts
val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") { from("src/main/resources-templates") into("$buildDir/generated/resources-templates") expand("projectVersion" to "${project.version}") filteringCharset = Charsets.UTF_8.toString() } kotlin { sourceSets { val main by getting { resources.srcDir(copyResourcesTemplates.get().outputs) } } } dependencies {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.8K bytes - Viewed (0) -
okhttp/build.gradle.kts
val copyKotlinTemplates = tasks.register<Copy>("copyKotlinTemplates") { from("src/main/kotlinTemplates") into("$buildDir/generated/sources/kotlinTemplates") expand("projectVersion" to project.version) filteringCharset = Charsets.UTF_8.toString() } // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt val generateIdnaMappingTableConfiguration: Configuration by configurations.creating dependencies {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle
filter { String line -> "[$line]" } // Use a closure to remove lines filter { String line -> line.startsWith('-') ? null : line } filteringCharset = 'UTF-8' } // end::filter-files[] // tag::file-permissions[] tasks.register('permissions', Copy) { from 'src/main/webapp' into layout.buildDirectory.dir('explodedWar') filePermissions {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts
filter { line: String -> "[$line]" } // Use a closure to remove lines filter { line: String -> if (line.startsWith('-')) null else line } filteringCharset = "UTF-8" } // end::filter-files[] // tag::file-permissions[] tasks.register<Copy>("permissions") { from("src/main/webapp") into(layout.buildDirectory.dir("explodedWar"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 8.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/tasks/AbstractCopyTask.java
getInputs().property(specPropertyName + ".filePermissions", spec.getFilePermissions().map(FilePermissions::toUnixNumeric)) .optional(true); getInputs().property(specPropertyName + ".filteringCharset", (Callable<String>) spec::getFilteringCharset); }); this.getOutputs().doNotCacheIf( "Has custom actions", spec(task -> rootSpec.hasCustomActions()) );
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 10:41:40 UTC 2024 - 16.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy
"filePermissions" | "filePermissions { unix(\"0600\") }" | "filePermissions { unix(\"0644\") }" "filteringCharset" | "filteringCharset = 'iso8859-1'" | "filteringCharset = 'utf-8'" } def "null action is forbidden for #method"() { given: buildScript """ task copy(type: Copy) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 67.9K bytes - Viewed (0)