Given that you're in the world of sbt:

    val cacheFile: File = streams.cacheDirectory / "op-cache"