Package com.android.testutils
Class RepoLinker
- java.lang.Object
-
- com.android.testutils.RepoLinker
-
public class RepoLinker extends java.lang.ObjectCreates a Maven repository using symlinks.
-
-
Constructor Summary
Constructors Constructor Description RepoLinker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlink(java.nio.file.Path destination, java.util.List<java.lang.String> artifacts)Creates a Maven repository using symlinks.static voidmain(java.lang.String[] args)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
link
public void link(java.nio.file.Path destination, java.util.List<java.lang.String> artifacts) throws java.lang.ExceptionCreates a Maven repository using symlinks.- Parameters:
destination- The destination directory for the Maven repository.artifacts- The list of artifacts to symlink. The artifacts are given as a list of path_in_repo=path_to_file- Throws:
java.lang.Exception
-
-