Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Merge pull request #60 from gkossakowski/inputs-create-compat
Browse files Browse the repository at this point in the history
Restore binary backwards compatibility of Inputs.create method.
  • Loading branch information
gkossakowski committed Aug 24, 2014
2 parents 2a2f502 + 3b70bee commit 2025bc5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/scala/com/typesafe/zinc/Inputs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@ object Inputs {
mirrorAnalysis = mirrorAnalysisCache
)

@deprecated("Use the variant that takes `incOptions` parameter, instead.", "0.3.5.3")
def create(
classpath: JList[File],
sources: JList[File],
classesDirectory: File,
scalacOptions: JList[String],
javacOptions: JList[String],
analysisCache: File,
analysisMap: JMap[File, File],
compileOrder: String,
mirrorAnalysisCache: Boolean): Inputs =
create(classpath, sources, classesDirectory, scalacOptions, javacOptions,
analysisCache, analysisMap, compileOrder, IncOptions(), mirrorAnalysisCache)

/**
* By default the cache location is relative to the classes directory (for example, target/classes/../cache/classes).
*/
Expand Down

0 comments on commit 2025bc5

Please sign in to comment.