Utility to extract templates from classpath (plugin jar) and copy to target location with placeholders processing.
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
copy(org.gradle.api.Project project, java.lang.String path, java.lang.Object to, java.util.Map<java.lang.String, java.lang.String> tokens)Copies templates from classpath (inside the jar) with placeholders substitution. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Copies templates from classpath (inside the jar) with placeholders substitution.
project - project instancepath - path to folder on classpath to copy (path must start with '/')to - target location (string, File)tokens - substitution tokens