From 5ee9425f54f2b1e6e3e9bf85ff4fc767e9c948a9 Mon Sep 17 00:00:00 2001 From: Efstathios Charitos Date: Thu, 25 Feb 2021 12:15:30 +0000 Subject: [PATCH] no message (+2 squashed commits) Squashed commits: [81d1645] new publishing info [c325cbd] publish to github instead of bintray --- README.md | 20 ++++++++++++++++++++ bintray.sbt | 3 --- build.sbt | 2 +- github.sbt | 2 ++ project/bintray.sbt | 1 - project/plugins.sbt | 1 + 6 files changed, 24 insertions(+), 5 deletions(-) delete mode 100644 bintray.sbt create mode 100644 github.sbt delete mode 100644 project/bintray.sbt create mode 100644 project/plugins.sbt diff --git a/README.md b/README.md index 3cd815b..8495abd 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,26 @@ addSbtPlugin("org.idio" % "sbt-assembly-log4j2" % "0.1.0") [sbt-assembly]: https://github.com/sbt/sbt-assembly#setup +## Fetch from github packages +As bintray is closing down we have published this on github packages + +To fetch it you need to set up the github packages sbt plugin + +You need to have a personal github token defined in your environment, read more here: +https://github.com/djspiewak/sbt-github-packages + +project/project/plugins.sbt +```scala +addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.2") +``` + +project/plugins.sbt +```scala +resolvers += Resolver.githubPackages("idio") +addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "") +addSbtPlugin("org.idio" % "sbt-assembly-log4j2" % "0.1.0") +``` + ## Usage In your merge strategy, add the following case: diff --git a/bintray.sbt b/bintray.sbt deleted file mode 100644 index e519a3e..0000000 --- a/bintray.sbt +++ /dev/null @@ -1,3 +0,0 @@ -publishMavenStyle := false -bintrayOrganization := Some("idio") -bintrayRepository := "sbt-plugins" diff --git a/build.sbt b/build.sbt index faec51a..b2124ed 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,5 @@ lazy val commonSettings: Seq[Setting[_]] = Seq( - git.baseVersion in ThisBuild := "2.0.0", + git.baseVersion in ThisBuild := "2.0.1", organization in ThisBuild := "org.idio" ) diff --git a/github.sbt b/github.sbt new file mode 100644 index 0000000..ebc5f81 --- /dev/null +++ b/github.sbt @@ -0,0 +1,2 @@ +githubOwner := "idio" +githubRepository := "sbt-assembly-log4j2" diff --git a/project/bintray.sbt b/project/bintray.sbt deleted file mode 100644 index 93d2ef0..0000000 --- a/project/bintray.sbt +++ /dev/null @@ -1 +0,0 @@ -addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.6") diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..1a65d3f --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.2")