diff options
Diffstat (limited to 'jni-plugin/src/main/scala/ch/jodersky/sbt/jni/build/BuildToolApi.scala')
-rw-r--r-- | jni-plugin/src/main/scala/ch/jodersky/sbt/jni/build/BuildToolApi.scala | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/jni-plugin/src/main/scala/ch/jodersky/sbt/jni/build/BuildToolApi.scala b/jni-plugin/src/main/scala/ch/jodersky/sbt/jni/build/BuildToolApi.scala index 47d9a90..43dd17a 100644 --- a/jni-plugin/src/main/scala/ch/jodersky/sbt/jni/build/BuildToolApi.scala +++ b/jni-plugin/src/main/scala/ch/jodersky/sbt/jni/build/BuildToolApi.scala @@ -4,19 +4,23 @@ package build import java.io.File import sbt.Logger - trait BuildToolApi { /** Invokes the native build tool's clean task */ - def clean(baseDirectory: File, log: Logger): Unit + def clean(baseDirectory: File, log: Logger): Unit /** - * Invokes the native build tool's main task, resulting in a single shared - * library file. - */ + * Invokes the native build tool's main task, resulting in a single shared + * library file. + * @param baseDirectory the directory where the native project is located + * @param buildDirectory a directory from where the build is called, it may be used to store temporary files + * @param targetDirectory the directory into which the native library is copied + * @return the native library file + */ def library( baseDirectory: File, targetDirectory: File, + buildDirectory: File, log: Logger ): File |