-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
6 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 |
---|---|---|
|
@@ -16,11 +16,6 @@ lazy val `sbt-openapi-generator` = (project in file(".")) | |
|
||
publishMavenStyle := false, | ||
|
||
bintrayRepository := "sbt-plugins", | ||
bintrayOrganization := Option("openapitools"), | ||
bintrayPackageLabels := Seq("sbt", "plugin", "oas", "openapi", "openapi-generator"), | ||
bintrayVcsUrl := Some("[email protected]:OpenAPITools/sbt-openapi-generator.git"), | ||
|
||
scriptedLaunchOpts := { | ||
scriptedLaunchOpts.value ++ Seq("-Xmx1024M", "-server", "-Dplugin.version=" + version.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,5 +1,6 @@ | ||
// Manages publishing. | ||
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.6") | ||
//addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.6") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.13") | ||
|
||
// Versions the build. | ||
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") |
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,36 @@ | ||
ThisBuild / organization := "org.openapitools.sbt-openapi-generator" | ||
ThisBuild / organizationName := "OpenAPITools" | ||
ThisBuild / organizationHomepage := Some(url("http://openapitools.org")) | ||
|
||
ThisBuild / scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/openapitools/sbt-openapi-generator"), | ||
"scm:[email protected]:openapitools/sbt-openapi-generator.git" | ||
) | ||
) | ||
ThisBuild / developers := List( | ||
Developer( | ||
id = "openapitools", | ||
name = "OpenAPI Tools", | ||
email = "[email protected]", | ||
url = url("http://openapitools.org") | ||
) | ||
) | ||
|
||
ThisBuild / description := "openapi-generator sbt plugin." | ||
ThisBuild / licenses := List( | ||
"Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt") | ||
) | ||
ThisBuild / homepage := Some(url("https://github.com/openapitools/sbt-openapi-generator")) | ||
|
||
// Remove all additional repository other than Maven Central from POM | ||
ThisBuild / pomIncludeRepository := { _ => false } | ||
ThisBuild / publishTo := { | ||
// For accounts created after Feb 2021: | ||
// val nexus = "https://s01.oss.sonatype.org/" | ||
val nexus = "https://oss.sonatype.org/" | ||
//if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots") | ||
//else Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
} | ||
ThisBuild / publishMavenStyle := true |