Skip to content

Commit

Permalink
Update error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasthomsen committed Aug 22, 2024
1 parent 40b8b53 commit a4ed8c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ trait CodeArtifactKeys {

val codeArtifactResolvers: SettingKey[List[String]] =
settingKey[List[String]]("Additional CodeArtifact repos from which to consume packages.")

val codeArtifactGetTokenInstructions =
settingKey[Option[String]]("Instructions on how to get a token for CodeArtifact")
}

trait InternalCodeArtifactKeys {
Expand All @@ -31,9 +34,6 @@ trait InternalCodeArtifactKeys {
val codeArtifactToken = taskKey[Option[String]](
"CodeArtifact authentication. Provided by environment variable CODEARTIFACT_AUTH_TOKEN or fetched dynamically from available AWS credentials."
)

val codeArtifactGetTokenInstructions =
taskKey[Option[String]]("Instructions on how to get a token for CodeArtifact")
}

object CodeArtifactKeys extends CodeArtifactKeys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ object CodeArtifactPlugin extends AutoPlugin {

def buildPublishSettings: Seq[Setting[_]] = Seq(
ThisBuild / codeArtifactUrl := "",
ThisBuild / codeArtifactGetTokenInstructions := None,
ThisBuild / codeArtifactResolvers := Nil
)

Expand Down

0 comments on commit a4ed8c1

Please sign in to comment.