11import sbtrelease .ReleaseStateTransformations .*
22
33Global / onChangedBuildSource := ReloadOnSourceChanges
4- Global / excludeLintKeys := Set (git.useGitDescribe, crossScalaVersions)
4+ Global / excludeLintKeys := Set (crossScalaVersions)
55
66lazy val rootScalaVersion = " 3.3.6"
77lazy val crossVersions = Seq (" 2.13.16" , rootScalaVersion)
88lazy val flinkVersion1 = System .getProperty(" flinkVersion1" , " 1.20.2" )
99lazy val flinkVersion2 = System .getProperty(" flinkVersion2" , " 2.0.0" )
1010
11+ ThisBuild / publishTo := sonatypePublishToBundle.value
12+
1113inThisBuild(
1214 List (
1315 organization := " com.github.sbt" ,
@@ -34,10 +36,11 @@ inThisBuild(
3436 " scm:[email protected] :flink-extended/flink-scala-api.git" 3537 )
3638 ),
37- organization := " org.flinkextended" ,
38- description := " Community-maintained fork of official Apache Flink Scala API" ,
39- 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" ))
39+ organization := " org.flinkextended" ,
40+ description := " Community-maintained fork of official Apache Flink Scala API" ,
41+ licenses := Seq (" APL2" -> url(" http://www.apache.org/licenses/LICENSE-2.0.txt" )),
42+ homepage := Some (url(" https://github.com/flink-extended/flink-scala-api" )),
43+ sonatypeCredentialHost := " central.sonatype.com"
4144 )
4245)
4346
@@ -74,7 +77,7 @@ lazy val commonSettings = Seq(
7477 val Some ((major, _)) = CrossVersion .partialVersion(scalaVersion.value)
7578 file(s " $dir- $major" )
7679 },
77- scalacOptions ++= Seq (
80+ scalacOptions ++= Seq (
7881 " -deprecation" ,
7982 " -feature" ,
8083 " -language:higherKinds" ,
0 commit comments