diff options
| author | Jack Koenig | 2018-02-27 18:07:11 -0800 |
|---|---|---|
| committer | GitHub | 2018-02-27 18:07:11 -0800 |
| commit | c7eb1570dfb1c7701ea32d1209982a053f3cec1d (patch) | |
| tree | 3f509b202d82841c5dad5588d1f953a25d389b44 /build.sbt | |
| parent | b90fc784a1819c1d7905910130a7da022214bc22 (diff) | |
Refactor Annotations (#721)
- Old Annotation renamed to deprecated LegacyAnnotation
- Annotation is now a trait that can be extended
- New JsonProtocol for Annotation [de]serialization
- Replace AnnotationMap with AnnotationSeq
- Deprecate Transform.getMyAnnotations
- Update Transforms
- Turn on deprecation warnings
- Remove deprecated Driver.compile
- Make AnnotationTests abstract with Legacy and Json subclasses
- Add functionality to convert LegacyAnnotations of built-in annos
This will give a noisy warning and is more of a best effort than a
robust solution.
Fixes #475 Closes #609
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -32,7 +32,9 @@ def scalacOptionsVersion(scalaVersion: String): Seq[String] = { } } -scalacOptions := scalacOptionsVersion(scalaVersion.value) +scalacOptions := scalacOptionsVersion(scalaVersion.value) ++ Seq( + "-deprecation" +) def javacOptionsVersion(scalaVersion: String): Seq[String] = { Seq() ++ { @@ -64,6 +66,8 @@ libraryDependencies += "com.github.scopt" %% "scopt" % "3.6.0" libraryDependencies += "net.jcazevedo" %% "moultingyaml" % "0.4.0" +libraryDependencies += "org.json4s" %% "json4s-native" % "3.5.3" + // Assembly assemblyJarName in assembly := "firrtl.jar" |
