Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed sonatype plugin. Standardise versioning for all modules. Make c…
…ore as root module.
- Loading branch information
Showing
6 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,4 +143,5 @@ fabric.properties | |
.idea/httpRequests | ||
|
||
# Project Specific | ||
.idea | ||
/.idea | ||
/sonatype.sbt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
ThisBuild / organization := "io.github.yangzai" | ||
ThisBuild / version := "0.1.0-SNAPSHOT" | ||
|
||
ThisBuild / scalaVersion := "2.12.8" | ||
ThisBuild / crossScalaVersions := Seq(scalaVersion.value, "2.11.12") | ||
ThisBuild / crossScalaVersions += "2.11.12" | ||
|
||
ThisBuild / wartremoverErrors ++= Warts.all | ||
|
||
lazy val core = project in file("suppressor-core") settings( | ||
name := "wartremover-suppressor-core", | ||
version := "2.3.7-SNAPSHOT" | ||
name := "wartremover-suppressor-core" | ||
) | ||
|
||
lazy val contrib = project in file("suppressor-contrib") dependsOn core settings( | ||
name := "wartremover-suppressor-contrib", | ||
version := "1.2.4-SNAPSHOT" | ||
name := "wartremover-suppressor-contrib" | ||
) | ||
|
||
lazy val root = project in file(".") dependsOn(core, contrib) enablePlugins SbtOsgi settings( | ||
name := "wartremover-suppressor", | ||
version := "0.1.0-SNAPSHOT", | ||
osgiSettings, | ||
OsgiKeys.exportPackage := Seq("org.wartremover.suppressor.*;-split-package:=merge-first"), | ||
OsgiKeys.privatePackage := Seq.empty | ||
lazy val root = project in file(".") aggregate(core, contrib) dependsOn core settings( | ||
name := "wartremover-suppressor" | ||
) | ||
|
||
useGpg := true | ||
ThisBuild / publishTo := sonatypePublishTo.value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
addSbtPlugin("org.wartremover" % "sbt-wartremover" % "2.3.7") | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.9") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.4") | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
publishMavenStyle := true | ||
|
||
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")) | ||
|
||
import xerial.sbt.Sonatype._ | ||
sonatypeProjectHosting := ??? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters