diff --git a/build.sbt b/build.sbt index 4920212..79de162 100644 --- a/build.sbt +++ b/build.sbt @@ -19,6 +19,9 @@ ThisBuild / scmInfo := Some( "scm:git@github.com:adRise/sbt-codeartifact.git" ) ) + +githubTokenSource := TokenSource.GitConfig("github.token") + lazy val testSettings: Seq[Setting[_]] = Seq( scriptedLaunchOpts := { scriptedLaunchOpts.value ++ Seq( diff --git a/core/build.sbt b/core/build.sbt index 0196bdd..873b4f3 100644 --- a/core/build.sbt +++ b/core/build.sbt @@ -12,3 +12,8 @@ libraryDependencies ++= Seq( ) testFrameworks += new TestFramework("utest.runner.Framework") + +githubOwner := "adRise" +githubRepository := "sbt-codeartifact" +publishMavenStyle := true +githubTokenSource := TokenSource.GitConfig("github.token") diff --git a/project/plugins.sbt b/project/plugins.sbt index 358f0d3..ee16d80 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,4 +2,6 @@ addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.4") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") -addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7") +addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.3") + +addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1") diff --git a/sbt-codeartifact/build.sbt b/sbt-codeartifact/build.sbt index 37d4c23..24cc320 100644 --- a/sbt-codeartifact/build.sbt +++ b/sbt-codeartifact/build.sbt @@ -16,3 +16,8 @@ test := { (Test / test).value scripted.toTask("").value } + +githubOwner := "adRise" +githubRepository := "sbt-codeartifact" +publishMavenStyle := true +githubTokenSource := TokenSource.GitConfig("github.token")