From 3388221ba90d8faa09053da6e586453247ad1013 Mon Sep 17 00:00:00 2001 From: Doug Clinton Date: Wed, 9 Aug 2023 13:05:51 +0200 Subject: [PATCH] Add github packages plugin --- build.sbt | 3 +++ project/plugins.sbt | 1 + 2 files changed, 4 insertions(+) diff --git a/build.sbt b/build.sbt index db308a8..ef477ac 100644 --- a/build.sbt +++ b/build.sbt @@ -8,6 +8,9 @@ val tapirVersion = "1.5.5" lazy val commonSettings = Seq( organization := "com.wellfactored", idePackagePrefix := Some("com.wellfactored.api.northflank"), + githubTokenSource := TokenSource.Or(TokenSource.GitConfig("github.token"), TokenSource.Environment("GITHUB_TOKEN")), + githubOwner := "qmspringboard", + githubRepository := "lib-admissions", scalaVersion := "2.13.11", startYear := Some(2021), scalacOptions := commonScalacOptions, diff --git a/project/plugins.sbt b/project/plugins.sbt index 2595d70..cbc18da 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,3 +1,4 @@ addSbtPlugin("org.jetbrains.scala" % "sbt-ide-settings" % "1.1.1") addSbtPlugin("org.jetbrains" % "sbt-ide-settings" % "1.1.0") addSbtPlugin("com.rallyhealth.sbt" % "sbt-git-versioning" % "1.6.0") +addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.3")