Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modernize

  • Loading branch information...
commit 1f0420479f93009f1cbf19014a48b2ff574b1ada 1 parent c51ec5d
@softprops authored
Showing with 6 additions and 8 deletions.
  1. +6 −8 build.sbt
View
14 build.sbt
@@ -5,24 +5,22 @@ name := "sbt-growl-plugin"
organization := "me.lessis"
version <<= sbtVersion(v =>
- if(v.startsWith("0.11")) "0.1.3"
+ if (v.startsWith("0.11") || v.startsWith("0.12")) "0.1.3"
else error("unsupported sbt version %s" format v)
)
-resolvers += "less is" at "http://repo.lessis.me"
+resolvers += Opts.resolver.sonatypeReleases
-libraryDependencies += "me.lessis" %% "meow" % "0.1.1"
+libraryDependencies += "me.lessis" %% "meow" % "0.1.0"
-publishTo := Some(Resolver.url("sbt-plugin-releases", url(
- "http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"
-))(Resolver.ivyStylePatterns))
+publishTo := Some(Classpaths.sbtPluginReleases)
publishMavenStyle := false
publishArtifact in Test := false
-licenses := Seq("MIT" -> url(
- "https://github.com/softprops/sbt-growl-plugin/blob/0.1.9/LICENSE"))
+licenses <<= version(v => Seq("MIT" -> url(
+ "https://github.com/softprops/sbt-growl-plugin/blob/%s/LICENSE" format v)))
pomExtra := (
<scm>

0 comments on commit 1f04204

Please sign in to comment.
Something went wrong with that request. Please try again.