forked from fxthomas/android-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
29 lines (20 loc) · 874 Bytes
/
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
name := "sbt-android"
organization := "org.scala-sbt"
version := "0.7.1-SNAPSHOT"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-Xcheckinit", "-Xfatal-warnings")
publishMavenStyle := false
publishTo <<= (version) { version: String =>
val scalasbt = "http://scalasbt.artifactoryonline.com/scalasbt/"
val (name, url) = if (version.contains("-"))
("sbt-plugin-snapshots", scalasbt+"sbt-plugin-snapshots")
else
("sbt-plugin-releases", scalasbt+"sbt-plugin-releases")
Some(Resolver.url(name, new URL(url))(Resolver.ivyStylePatterns))
}
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
libraryDependencies ++= Seq(
"com.google.android.tools" % "ddmlib" % "r10",
"net.sf.proguard" % "proguard-base" % "4.8"
)
sbtPlugin := true
commands += Status.stampVersion