File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
src/main/scala/org/scalaexercises/exercises Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,14 @@ trait Library {
1818 def color : Option [String ]
1919 def sections : List [Section ]
2020 def timestamp : String
21+ def buildMetaInfo : BuildInfo
22+ }
23+
24+ /** Library Build Metadata Information
25+ */
26+ trait BuildInfo {
27+ def resolvers : List [String ]
28+ def libraryDependencies : List [String ]
2129}
2230
2331/** A section in a library.
@@ -57,13 +65,14 @@ trait Exercise {
5765
5866// default case class implementations
5967case class DefaultLibrary (
60- owner : String ,
61- repository : String ,
62- name : String ,
63- description : String ,
64- color : Option [String ],
65- sections : List [Section ] = Nil ,
66- timestamp : String
68+ owner : String ,
69+ repository : String ,
70+ name : String ,
71+ description : String ,
72+ color : Option [String ],
73+ sections : List [Section ] = Nil ,
74+ timestamp : String ,
75+ buildMetaInfo : BuildInfo
6776) extends Library
6877
6978case class DefaultContribution (
You can’t perform that action at this time.
0 commit comments