File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/scala/codacy/docker/api Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ resolvers += "Bintray Typesafe Repo" at "http://dl.bintray.com/typesafe/maven-re
19
19
libraryDependencies ++= Seq (
20
20
" com.typesafe.play" %% " play-json" % " 2.4.8" ,
21
21
" org.scalatest" %% " scalatest" % " 2.2.4" % " test" ,
22
- " com.codacy" %% " codacy-plugins-api" % " 1.0.10 " withSources(),
22
+ " com.codacy" %% " codacy-plugins-api" % " 1.0.11 " withSources(),
23
23
" com.github.pathikrit" %% " better-files" % " 2.17.1" withSources()
24
24
)
25
25
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ trait JsonApi {
76
76
implicit lazy val toolNameFormat = Format (Reads .StringReads .map(Tool .Name ),
77
77
Writes ((v : Tool .Name ) => Json .toJson(v.value))) // Json.format[Tool.Name]
78
78
79
+ implicit lazy val toolVersionFormat = Format (Reads .StringReads .map(Tool .Version ),
80
+ Writes ((v : Tool .Version ) => Json .toJson(v.value))) // Json.format[Tool.Version]
81
+
79
82
implicit lazy val sourceFileFormat = Format (Reads .StringReads .map(Source .File ),
80
83
Writes ((v : Source .File ) => Json .toJson(v.path))) // Json.format[Source.File]
81
84
You can’t perform that action at this time.
0 commit comments