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