Skip to content

Commit

Permalink
Move logging statement on compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones committed Dec 15, 2023
1 parent cb6b72d commit 033aa42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/scala/com/github/sbt/avro/SbtAvro.scala
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,6 @@ object SbtAvro extends AutoPlugin {
import sbt.util.CacheStoreFactory
import sbt.util.CacheImplicits._

out.log.info(s"Avro compiler $avroCompilerVersion using stringType=$strType")

val cacheStoreFactory = CacheStoreFactory(out.cacheDirectory / "avro")
val lastCache = { (action: Option[Set[File]] => Set[File]) =>
Tracked.lastOutput[Unit, Set[File]](cacheStoreFactory.make("last-cache")) {
Expand All @@ -345,6 +343,7 @@ object SbtAvro extends AutoPlugin {
// - no previous cache and we have records to recompile
// - input files have changed
// - output files are missing
out.log.info(s"Avro compiler $avroCompilerVersion using stringType=$strType")
compileAvroSchema(
records,
srcDirs,
Expand Down

0 comments on commit 033aa42

Please sign in to comment.