mirror of
https://github.com/lightbend/config.git
synced 2025-03-22 15:20:26 +08:00
move publish settings to config/ project instead of global
This commit is contained in:
parent
2365db970e
commit
38fb8d6834
@ -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")
|
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user