Skip to content

Commit

Permalink
move publish settings to config/ project instead of global
Browse files Browse the repository at this point in the history
  • Loading branch information
havocp committed Nov 30, 2011
1 parent 2365db9 commit 38fb8d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build.sbt
Expand Up @@ -16,12 +16,3 @@ organization in GlobalScope := "com.typesafe.config"
scalacOptions in GlobalScope in Compile := Seq("-unchecked", "-deprecation")

scalacOptions in GlobalScope in Test := Seq("-unchecked", "-deprecation")

publishTo in GlobalScope <<= (isSnapshot) { snapshot =>
import Classpaths._
Some(if (snapshot) typesafeSnapshots else typesafeResolver)
}

publishMavenStyle in GlobalScope := true

credentials in GlobalScope += Credentials(Path.userHome / ".ivy2" / ".typesafe-credentials")
9 changes: 9 additions & 0 deletions config/build.sbt
Expand Up @@ -31,3 +31,12 @@ seq(javadocSettings: _*)
JavadocKeys.javadocOptions += "-exclude com.typesafe.config.impl"

doc in Compile <<= JavadocKeys.javadoc

publishTo <<= (isSnapshot) { snapshot =>
import Classpaths._
Some(if (snapshot) typesafeSnapshots else typesafeResolver)
}

publishMavenStyle := true

credentials += Credentials(Path.userHome / ".ivy2" / ".typesafe-credentials")

0 comments on commit 38fb8d6

Please sign in to comment.