11import sbtrelease .ReleaseStateTransformations .*
2- // import xerial.sbt.Sonatype.sonatypeCentralHost
32
43Global / onChangedBuildSource := ReloadOnSourceChanges
54Global / excludeLintKeys := Set (git.useGitDescribe, crossScalaVersions)
@@ -9,6 +8,39 @@ lazy val crossVersions = Seq("2.13.16", rootScalaVersion)
98lazy val flinkVersion1 = System .getProperty(" flinkVersion1" , " 1.20.2" )
109lazy val flinkVersion2 = System .getProperty(" flinkVersion2" , " 2.0.0" )
1110
11+ inThisBuild(
12+ List (
13+ organization := " com.github.sbt" ,
14+ homepage := Some (url(" https://github.com/sbt/sbt-ci-release" )),
15+ // Alternatively License.Apache2 see https://github.com/sbt/librarymanagement/blob/develop/core/src/main/scala/sbt/librarymanagement/License.scala
16+ licenses := List (" Apache-2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0" )),
17+ developers := List (
18+ Developer (
19+ id = " romangrebennikov" ,
20+ name = " Roman Grebennikov" ,
21+ 22+ url = url(" https://dfdx.me/" )
23+ ),
24+ Developer (
25+ id = " novakov-alexey" ,
26+ name = " Alexey Novakov" ,
27+ 28+ url = url(" https://novakov-alexey.github.io/" )
29+ )
30+ ),
31+ scmInfo := Some (
32+ ScmInfo (
33+ url(" https://github.com/flink-extended/flink-scala-api" ),
34+ " scm:[email protected] :flink-extended/flink-scala-api.git" 35+ )
36+ ),
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" ))
41+ )
42+ )
43+
1244lazy val root = (project in file(" ." ))
1345 .aggregate(`scala-api-common`, `flink-1-api`, `flink-2-api`, `examples`)
1446 .settings(commonSettings)
@@ -42,17 +74,7 @@ lazy val commonSettings = Seq(
4274 val Some ((major, _)) = CrossVersion .partialVersion(scalaVersion.value)
4375 file(s " $dir- $major" )
4476 },
45- organization := " org.flinkextended" ,
46- description := " Community-maintained fork of official Apache Flink Scala API" ,
47- licenses := Seq (" APL2" -> url(" http://www.apache.org/licenses/LICENSE-2.0.txt" )),
48- homepage := Some (url(" https://github.com/flink-extended/flink-scala-api" )),
49- // sonatypeCredentialHost := sonatypeCentralHost,
50- // sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
51- // publishMavenStyle := true,
52- // publishTo := sonatypePublishToBundle.value,
53- pgpPassphrase := scala.util.Properties .propOrNone(" gpg.passphrase" ).map(_.toCharArray),
54- git.useGitDescribe := true ,
55- scalacOptions ++= Seq (
77+ scalacOptions ++= Seq (
5678 " -deprecation" ,
5779 " -feature" ,
5880 " -language:higherKinds" ,
@@ -65,26 +87,6 @@ lazy val commonSettings = Seq(
6587 Nil
6688 }
6789 },
68- scmInfo := Some (
69- ScmInfo (
70- url(" https://github.com/flink-extended/flink-scala-api" ),
71- " scm:[email protected] :flink-extended/flink-scala-api.git" 72- )
73- ),
74- developers := List (
75- Developer (
76- id = " romangrebennikov" ,
77- name = " Roman Grebennikov" ,
78- 79- url = url(" https://dfdx.me/" )
80- ),
81- Developer (
82- id = " novakov-alexey" ,
83- name = " Alexey Novakov" ,
84- 85- url = url(" https://novakov-alexey.github.io/" )
86- )
87- ),
8890 releaseProcess := Seq .empty[ReleaseStep ],
8991 releaseProcess ++= (if (sys.env.contains(" RELEASE_VERSION_BUMP" ))
9092 Seq [ReleaseStep ](
0 commit comments