import sbt._
import Keys._

object SbtIdeaBuild extends Build {
	lazy val sbtIdea = Project("sbt-idea", file("."), settings = mainSettings)
	
	lazy val mainSettings: Seq[Project.Setting[_]] = Defaults.defaultSettings ++	ScriptedPlugin.scriptedSettings ++ Seq(
		sbtPlugin := true,
		organization := "com.github.mpeltonen",
		name := "sbt-idea",
		version := "0.10.0",
		publishTo := Some(Resolver.file("Github Pages", Path.userHome / "git" / "mpeltonen.github.com" / "maven" asFile)(Patterns(true, Resolver.mavenStyleBasePattern))),
		scalacOptions ++= Seq("-deprecation", "-unchecked"),
    libraryDependencies ++= scriptedTestHelperDependencies
	)

  private def scriptedTestHelperDependencies = Seq(
    "commons-io" % "commons-io" % "2.0.1"
  )
}

import sbt._
import Keys._

object SbtIdeaBuild extends Build {
	lazy val sbtIdea = Project("sbt-idea", file("."), settings = mainSettings)
	
	lazy val mainSettings: Seq[Project.Setting[_]] = Defaults.defaultSettings ++	ScriptedPlugin.scriptedSettings ++ Seq(
		sbtPlugin := true,
		organization := "com.github.mpeltonen",
		name := "sbt-idea",
		version := "0.10.1-SNAPSHOT",
		publishTo := Some(Resolver.file("Github Pages", Path.userHome / "git" / "mpeltonen.github.com" / "maven" asFile)(Patterns(true, Resolver.mavenStyleBasePattern))),
		scalacOptions ++= Seq("-deprecation", "-unchecked"),
    libraryDependencies ++= scriptedTestHelperDependencies
	)

  private def scriptedTestHelperDependencies = Seq(
    "commons-io" % "commons-io" % "2.0.1"
  )
}

Set next development snapshot version
Set next development snapshot version
