Skip to content

Commit de9564e

Browse files
committed
Settings for GitHub Packages
1 parent 3da3ea9 commit de9564e

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

build.sbt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// forked from sbt/sbt-coffeescript https://github.com/sbt/sbt-coffeescript
2+
name := "sbt-coffeescript2"
23
ThisBuild / organization := "com.github.xenonabe"
3-
ThisBuild / name := "sbt-coffeescript2"
44
ThisBuild / scalaVersion := "2.12.13"
55

66
lazy val root = (project in file("."))
@@ -10,5 +10,8 @@ lazy val root = (project in file("."))
1010
libraryDependencies ++= Seq(
1111
"org.webjars.npm" % "coffeescript" % "2.3.2",
1212
"org.webjars" % "mkdirp" % "0.5.0"
13-
)
13+
),
14+
publishArtifact in (Compile, packageDoc) := false,
15+
publishArtifact in (Compile, packageSrc) := false,
16+
bintrayRepository := "sbt-plugin-releases",
1417
)

githubPackages.sbt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
githubTokenSource := TokenSource.Environment("GITHUB_TOKEN") || TokenSource.GitConfig("github.token")
2+
ThisBuild / githubOwner := "XenonAbe"
3+
ThisBuild / githubRepository := "sbt-coffeescript2"
4+
ThisBuild / licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
addSbtPlugin("com.typesafe.sbt" % "sbt-web-build-base" % "1.2.3")
2+
3+
addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.2")

0 commit comments

Comments
 (0)