diff --git a/README.md b/README.md index 7b113a9..d510fd0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,21 @@ SBT Deploy Plugin to easily deploy your project. +## Notes. Bintray shutdown 01.05.2021 +Please apply changes to `project/plugins.sbt`: +### janalyse resolver +remove: + +`resolvers += "JAnalyse Repository" at "http://www.janalyse.fr/repository/"` + +### new organization `io.github.shmishleniy` +replace: + +`addSbtPlugin("com.github.shmishleniy" % "sbt-deploy-ssh" % "0.1.x")` + +with + +`addSbtPlugin("io.github.shmishleniy" % "sbt-deploy-ssh" % "0.1.x")` ## Quick Start Read documentation here below or check [example project](https://github.com/shmishleniy/sbt-deploy-ssh/tree/master/example). @@ -28,13 +43,7 @@ Usage example: `deploySsh yourServerName1 yourServerName2 ...` Add to your `project/plugins.sbt` file: ``` sbt -addSbtPlugin("com.github.shmishleniy" % "sbt-deploy-ssh" % "0.1.4") -``` - -Add resolver to `project/plugins.sbt`: - -```sbt -resolvers += "JAnalyse Repository" at "http://www.janalyse.fr/repository/" +addSbtPlugin("io.github.shmishleniy" % "sbt-deploy-ssh" % "0.1.5") ``` Add import to your project build file diff --git a/build.sbt b/build.sbt index 96b0497..664a9be 100644 --- a/build.sbt +++ b/build.sbt @@ -1,18 +1,25 @@ sbtPlugin := true name := "sbt-deploy-ssh" -organization := "com.github.shmishleniy" -version := org.eclipse.jgit.api.Git.open(file(".")).describe().call() +organization := "io.github.shmishleniy" +organizationHomepage := Some(url("https://github.com/shmishleniy")) +version := "0.1.5" -publishMavenStyle := false -bintrayRepository in bintray := "sbt-plugins" licenses += ("MIT", url("https://opensource.org/licenses/MIT")) -bintrayOrganization in bintray := None -resolvers += "JAnalyse Repository" at "http://www.janalyse.fr/repository/" +import xerial.sbt.Sonatype._ +sonatypeProjectHosting := Some(GitHubHosting("shmishleniy", "sbt-deploy-ssh", "shmishleniy@gmail.com")) + +publishMavenStyle := true +credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials") +pomIncludeRepository := { _ => false } +publishTo := sonatypePublishToBundle.value +sonatypeCredentialHost := "s01.oss.sonatype.org" +sonatypeRepository := "https://s01.oss.sonatype.org/service/local" + libraryDependencies ++= Seq( "com.typesafe" % "config" % "1.3.3", - "fr.janalyse" %% "janalyse-ssh" % "0.10.3", + "fr.janalyse" %% "janalyse-ssh" % "0.10.4", "org.scalaz" %% "scalaz-core" % "7.2.27" ) diff --git a/example/build.sbt b/example/build.sbt index b6a2e49..e99af03 100644 --- a/example/build.sbt +++ b/example/build.sbt @@ -1,4 +1,4 @@ -ThisBuild / scalaVersion := "2.12.8" +ThisBuild / scalaVersion := "2.13.5" ThisBuild / fork := true ThisBuild / cancelable in Global := true ThisBuild / scalacOptions in Compile ++= Vector( diff --git a/example/project/plugins.sbt b/example/project/plugins.sbt index a4b11d5..51ebf3b 100644 --- a/example/project/plugins.sbt +++ b/example/project/plugins.sbt @@ -2,5 +2,4 @@ scalacOptions in Compile ++= Seq("-deprecation", "-feature") addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.14") -resolvers += "JAnalyse Repository" at "http://www.janalyse.fr/repository/" -addSbtPlugin("com.github.shmishleniy" % "sbt-deploy-ssh" % "0.1.4") +addSbtPlugin("io.github.shmishleniy" % "sbt-deploy-ssh" % "0.1.5") diff --git a/project/plugins.sbt b/project/plugins.sbt index 255d2df..75c243b 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,4 +3,5 @@ libraryDependencies += "org.eclipse.jgit" % "org.eclipse.jgit" % "5.2.1.20181226 scalacOptions in Compile ++= Seq("-deprecation", "-feature") -addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.4") +addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2") +addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.6") \ No newline at end of file