mirror of https://github.com/sbt/sbt.git
switch publishMavenStyle off when project is an sbt plugin
This commit is contained in:
parent
0c2cb33d7b
commit
65ae7dab1c
|
|
@ -661,6 +661,7 @@ object Classpaths
|
|||
moduleConfigurations in GlobalScope :== Nil,
|
||||
publishTo in GlobalScope :== None,
|
||||
artifactPath in makePom <<= artifactPathSetting(artifact in makePom),
|
||||
publishMavenStyle <<= (sbtPlugin, publishMavenStyle)(!_ && _),
|
||||
publishArtifact in makePom <<= publishMavenStyle.identity,
|
||||
artifact in makePom <<= moduleName(Artifact.pom),
|
||||
projectID <<= (organization,moduleName,version,artifacts,crossPaths){ (org,module,version,as,crossEnabled) =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue