Skip to content

Commit a4ed8c1

Browse files
Update error message.
1 parent 40b8b53 commit a4ed8c1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sbt-codeartifact/src/main/scala/codeartifact/CodeArtifactKeys.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ trait CodeArtifactKeys {
2020

2121
val codeArtifactResolvers: SettingKey[List[String]] =
2222
settingKey[List[String]]("Additional CodeArtifact repos from which to consume packages.")
23+
24+
val codeArtifactGetTokenInstructions =
25+
settingKey[Option[String]]("Instructions on how to get a token for CodeArtifact")
2326
}
2427

2528
trait InternalCodeArtifactKeys {
@@ -31,9 +34,6 @@ trait InternalCodeArtifactKeys {
3134
val codeArtifactToken = taskKey[Option[String]](
3235
"CodeArtifact authentication. Provided by environment variable CODEARTIFACT_AUTH_TOKEN or fetched dynamically from available AWS credentials."
3336
)
34-
35-
val codeArtifactGetTokenInstructions =
36-
taskKey[Option[String]]("Instructions on how to get a token for CodeArtifact")
3737
}
3838

3939
object CodeArtifactKeys extends CodeArtifactKeys

sbt-codeartifact/src/main/scala/codeartifact/CodeArtifactPlugin.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ object CodeArtifactPlugin extends AutoPlugin {
1818

1919
def buildPublishSettings: Seq[Setting[_]] = Seq(
2020
ThisBuild / codeArtifactUrl := "",
21+
ThisBuild / codeArtifactGetTokenInstructions := None,
2122
ThisBuild / codeArtifactResolvers := Nil
2223
)
2324

0 commit comments

Comments
 (0)