Skip to content

Commit

Permalink
Merge pull request #12 from idio/sc-bintray
Browse files Browse the repository at this point in the history
publish to github instead of bintray
  • Loading branch information
stathischaritos authored Mar 1, 2021
2 parents 4001077 + 5ee9425 commit f5699a3
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" % "<version>")
addSbtPlugin("org.idio" % "sbt-assembly-log4j2" % "0.1.0")
```

## Usage

In your merge strategy, add the following case:
Expand Down
3 changes: 0 additions & 3 deletions bintray.sbt

This file was deleted.

2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -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"
)

Expand Down
2 changes: 2 additions & 0 deletions github.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
githubOwner := "idio"
githubRepository := "sbt-assembly-log4j2"
1 change: 0 additions & 1 deletion project/bintray.sbt

This file was deleted.

1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.2")

0 comments on commit f5699a3

Please sign in to comment.