2011-09-14 19:01:48 +02:00
|
|
|
sbtPlugin := true
|
|
|
|
|
|
2012-01-16 21:24:19 +01:00
|
|
|
name := "sbt-launcher-package"
|
2011-09-14 19:01:48 +02:00
|
|
|
|
2012-07-18 16:40:29 +02:00
|
|
|
organization := "org.scala-sbt"
|
2011-09-14 19:01:48 +02:00
|
|
|
|
2011-10-28 17:21:38 +02:00
|
|
|
version := "0.1.0"
|
2011-09-14 19:01:48 +02:00
|
|
|
|
2012-01-17 20:15:00 +01:00
|
|
|
crossTarget <<= target
|
|
|
|
|
|
2012-07-18 16:40:29 +02:00
|
|
|
publishTo in Global := {
|
|
|
|
|
val nativeReleaseUrl = "http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages"
|
|
|
|
|
val nativeReleasePattern = "[organization]/[module]/[revision]/[module].[ext]"
|
|
|
|
|
val resolver = Resolver.url("native-releases", new URL(nativeReleaseUrl))(Patterns(nativeReleasePattern))
|
|
|
|
|
// Resolver.file("native-releases-local", file("/home/jsuereth/repos/native-packages"))(Patterns(nativeReleasePattern))
|
|
|
|
|
Some(resolver)
|
|
|
|
|
}
|
|
|
|
|
|