Skip to content

Commit

Permalink
update README, bintray shutdown notes
Browse files Browse the repository at this point in the history
  • Loading branch information
shmishleniy committed Apr 28, 2021
1 parent 837ea03 commit 8c62445
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 18 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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
Expand Down
21 changes: 14 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -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", "[email protected]"))

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"
)

Expand Down
2 changes: 1 addition & 1 deletion example/build.sbt
Original file line number Diff line number Diff line change
@@ -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(
Expand Down
3 changes: 1 addition & 2 deletions example/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
3 changes: 2 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 8c62445

Please sign in to comment.