Skip to content

Commit 76badd7

Browse files
committed
Fixes to override capability.
1 parent e412ec0 commit 76badd7

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

project/ProjectPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ object ProjectPlugin extends AutoPlugin {
4040
rfSparkVersion in ThisBuild := "2.3.2" ,
4141
rfGeoTrellisVersion in ThisBuild := "2.1.0",
4242
rfGeoMesaVersion in ThisBuild := "2.1.0",
43-
publishTo := sonatypePublishTo.value,
43+
publishTo in ThisBuild := sonatypePublishTo.value,
4444
publishMavenStyle := true,
4545
publishArtifact in (Compile, packageDoc) := true,
4646
publishArtifact in Test := false,

x-astraea.sbt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
// Internal Astraea-specific overides
2-
version in ThisBuild := "0.8.0-astraea-SNAPSHOT"
3-
credentials in ThisBuild += Credentials(Path.userHome / ".sbt" / ".credentials")
2+
ThisBuild / version := "0.8.0-astraea-SNAPSHOT"
3+
ThisBuild / credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
44
publishTo := {
55
val base = "https://s22s.mycloudrepo.io/repositories"
66
if (isSnapshot.value)
77
Some("Astraea Internal Snapshots" at s"$base/snapshots/")
88
else
99
Some("Astraea Internal Releases" at s"$base/releases/")
10-
}
10+
}
11+
12+
// Coudn't figure out why we have to call all these out explicitly.
13+
// The above should have been sufficient based on my understanding of
14+
// the precidence rules in sbt.
15+
LocalProject("core") / publishTo := publishTo.value
16+
LocalProject("datasource") / publishTo := publishTo.value
17+
LocalProject("pyrasterframes") / publishTo := publishTo.value
18+
LocalProject("experimental") / publishTo := publishTo.value

0 commit comments

Comments
 (0)