File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,13 @@ inThisBuild(
3737 organization := " org.flinkextended" ,
3838 description := " Community-maintained fork of official Apache Flink Scala API" ,
3939 licenses := Seq (" APL2" -> url(" http://www.apache.org/licenses/LICENSE-2.0.txt" )),
40- homepage := Some (url(" https://github.com/flink-extended/flink-scala-api" ))
40+ homepage := Some (url(" https://github.com/flink-extended/flink-scala-api" )),
41+ // new setting for the Central Portal
42+ publishTo := {
43+ val centralSnapshots = " https://central.sonatype.com/repository/maven-snapshots/"
44+ if (isSnapshot.value) Some (" central-snapshots" at centralSnapshots)
45+ else localStaging.value
46+ }
4147 )
4248)
4349
@@ -74,7 +80,7 @@ lazy val commonSettings = Seq(
7480 val Some ((major, _)) = CrossVersion .partialVersion(scalaVersion.value)
7581 file(s " $dir- $major" )
7682 },
77- scalacOptions ++= Seq (
83+ scalacOptions ++= Seq (
7884 " -deprecation" ,
7985 " -feature" ,
8086 " -language:higherKinds" ,
You can’t perform that action at this time.
0 commit comments