Java Code Examples for org.gradle.util.GFileUtils#writeFile()
The following examples show how to use
org.gradle.util.GFileUtils#writeFile() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DefaultExternalResourceRepository.java From pushfish-android with BSD 2-Clause "Simplified" License | 5 votes |
private File createChecksumFile(File src, String algorithm, int checksumlength) { File csFile = temporaryFileProvider.createTemporaryFile("gradle_upload", algorithm); HashValue hash = HashUtil.createHash(src, algorithm); String formattedHashString = formatHashString(hash.asHexString(), checksumlength); GFileUtils.writeFile(formattedHashString, csFile, "US-ASCII"); return csFile; }
Example 2
Source File: DefaultExternalResourceRepository.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 5 votes |
private File createChecksumFile(File src, String algorithm, int checksumlength) { File csFile = temporaryFileProvider.createTemporaryFile("gradle_upload", algorithm); HashValue hash = HashUtil.createHash(src, algorithm); String formattedHashString = formatHashString(hash.asHexString(), checksumlength); GFileUtils.writeFile(formattedHashString, csFile, "US-ASCII"); return csFile; }
Example 3
Source File: RhinoWorkerUtils.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public static void writeFile(String content, File destination, String encoding) { GFileUtils.writeFile(content, destination, encoding); }
Example 4
Source File: RhinoWorkerUtils.java From pushfish-android with BSD 2-Clause "Simplified" License | 4 votes |
public static void writeFile(String content, File destination, String encoding) { GFileUtils.writeFile(content, destination, encoding); }
Example 5
Source File: RhinoWorkerUtils.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public static void writeFile(String content, File destination, String encoding) { GFileUtils.writeFile(content, destination, encoding); }
Example 6
Source File: RhinoWorkerUtils.java From Pushjet-Android with BSD 2-Clause "Simplified" License | 4 votes |
public static void writeFile(String content, File destination, String encoding) { GFileUtils.writeFile(content, destination, encoding); }