move publish settings to config/ project instead of global

This commit is contained in:
Havoc Pennington 2011-11-30 16:35:41 -05:00
parent 2365db970e
commit 38fb8d6834
2 changed files with 9 additions and 9 deletions

View File

@ -16,12 +16,3 @@ organization in GlobalScope := "com.typesafe.config"
scalacOptions in GlobalScope in Compile := Seq("-unchecked", "-deprecation") scalacOptions in GlobalScope in Compile := Seq("-unchecked", "-deprecation")
scalacOptions in GlobalScope in Test := 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")

View File

@ -31,3 +31,12 @@ seq(javadocSettings: _*)
JavadocKeys.javadocOptions += "-exclude com.typesafe.config.impl" JavadocKeys.javadocOptions += "-exclude com.typesafe.config.impl"
doc in Compile <<= JavadocKeys.javadoc 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")