This function copies the JAR files to the appropriate directories of the R
package source. Specifically, source JAR files go into (PKGHOME)/java
and binary JAR files go into (PKGHOME)/inst/java/scala-(VERSION)
,
where (PKGHOME)
is the package home and (VERSION)
is the major
Scala version (e.g., 2.13).
scalaDevelDeployJARs(name, root, srcJAR, binJARs)
The package name (as a string).
The file system path to package root directory (as a string).
The file system path to source JAR file (as a string).
A named character vector of file system paths, where each name
is a Scala major version (e.g., "2.13"
.)