-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
35 lines (26 loc) · 1.09 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sbtPlugin := true
// Project name (artifact name in Maven)
name := "ebean-jdk8-fix"
// orgnization name (e.g., the package name of the project)
organization := "com.beowulfe.play"
version := "3.3.1-SNAPSHOT"
scalaVersion := "2.10.4"
// project description
description := "Fixes ebean for jdk8"
publishMavenStyle := false
// library dependencies. (orginization name) % (project name) % (version)
libraryDependencies ++= Seq(
"org.apache.ant" % "ant" % "1.7.0",
"javax.persistence" % "persistence-api" % "1.0",
"org.slf4j" % "slf4j-api" % "1.7.2" % "test",
"junit" % "junit" % "4.8.2" % "test",
"com.novocode" % "junit-interface" % "0.9" % "test"
)
packageOptions := Seq(
Package.ManifestAttributes("Premain-Class" -> "com.avaje.ebean.enhance.agent.Transformer"),
Package.ManifestAttributes("Agent-Class" -> "com.avaje.ebean.enhance.agent.Transformer"),
Package.ManifestAttributes("Can-Redefine-Classes" -> "true"),
Package.ManifestAttributes("Can-Retransform-Classes" -> "true")
)
// JavaDoc compilation fails because of #link to external project
sources in doc in Compile := List()