Skip to content

Commit

Permalink
add dependency on jsr250 (#708)
Browse files Browse the repository at this point in the history
In jdk9 the PostConstruct and PreDestroy annotations have
been moved to a deprecated module that has to be explicitly
enabled. Adding explicit dependency so that those classes
can be found and the start/stop methods on services will
be called correctly.
  • Loading branch information
brharrington authored and zimmermatt committed Oct 12, 2017
1 parent bd7bd62 commit c3ebaa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.sbt
Expand Up @@ -33,6 +33,7 @@ lazy val `atlas-akka` = project
Dependencies.akkaSlf4j,
Dependencies.akkaStream,
Dependencies.iepService,
Dependencies.jsr250,
Dependencies.spectatorSandbox,
Dependencies.akkaHttp,
Dependencies.typesafeConfig,
Expand Down
1 change: 1 addition & 0 deletions project/Dependencies.scala
Expand Up @@ -49,6 +49,7 @@ object Dependencies {
val jacksonSmile2 = "com.fasterxml.jackson.dataformat" % "jackson-dataformat-smile" % jackson
val jodaConvert = "org.joda" % "joda-convert" % "1.8.3"
val jol = "org.openjdk.jol" % "jol-core" % "0.9"
val jsr250 = "javax.annotation" % "jsr250-api" % "1.0"
val jsr305 = "com.google.code.findbugs" % "jsr305" % "3.0.2"
val log4jApi = "org.apache.logging.log4j" % "log4j-api" % log4j
val log4jCore = "org.apache.logging.log4j" % "log4j-core" % log4j
Expand Down

0 comments on commit c3ebaa1

Please sign in to comment.