diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..de7be1c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,10 @@ +# https://blog.github.com/2017-07-06-introducing-code-owners/ +# Each line is a file pattern followed by one or more owners. + +# These owners will be the default owners for everything in the repo. +#* @hjz + +# Order is important. The last matching pattern has the most precedence. +# So if a pull request only touches javascript files, only these owners +# will be requested to review. +* @Iterable/sbt-codeartifact-owners \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75f5248..e35e6e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ name: Release on: push: - branches: [main] + branches: [main, Original] tags: ["*"] jobs: publish: diff --git a/.gitignore b/.gitignore index ed80059..ca3116f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.class *.log +.idea **/out/ **/.bloop/ **/.bsp/ diff --git a/.sdkmanrc b/.sdkmanrc new file mode 100644 index 0000000..4362cf5 --- /dev/null +++ b/.sdkmanrc @@ -0,0 +1,4 @@ +# Enable auto-env through the sdkman_auto_env config +# Add key=value pairs of SDKs to use below +java=8.0.412-kona +sbt=1.9.7 diff --git a/README.md b/README.md index afb3900..b3d9e9b 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,5 @@ # SBT CodeArtifact -[![Maven][maven]][mavenlink] - -[maven]: https://maven-badges.herokuapp.com/maven-central/io.github.bbstilson/sbt-codeartifact/badge.svg?kill_cache=1&color=blue&style=for-the-badge -[mavenlink]: https://search.maven.org/search?q=g:io.github.bbstilson%20AND%20a:sbt-codeartifact - An sbt plugin for publishing/consuming packages to/from AWS CodeArtifact. ## Install @@ -12,7 +7,7 @@ An sbt plugin for publishing/consuming packages to/from AWS CodeArtifact. First, you will need a CodeArtifact repository. Then, add the following to your sbt `project/plugins.sbt` file: ```scala -addSbtPlugin("io.github.bbstilson" % "sbt-codeartifact" % version) +addSbtPlugin("com.iterable" % "sbt-codeartifact" % version) ``` ## Usage diff --git a/build.sbt b/build.sbt index 4a9e16f..4862109 100644 --- a/build.sbt +++ b/build.sbt @@ -1,19 +1,26 @@ -inThisBuild( - List( - organization := "io.github.bbstilson", - homepage := Some(url("https://github.com/bbstilson/sbt-codeartifact")), - licenses := Seq("MIT" -> url("https://choosealicense.com/licenses/mit/")), - developers := List( - Developer( - "bbstilson", - "Brandon Stilson", - "bbstilson@fastmail.com", - url("https://github.com/bbstilson") - ) - ) +ThisBuild / organization := "com.iterable" +ThisBuild / organizationName := "Iterable" +ThisBuild / organizationHomepage := Some(url("https://iterable.com")) + +ThisBuild / description := "A plugin for authenticating with AWS CodeArtifact" +ThisBuild / licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT")) +ThisBuild / homepage := Some(url("https://github.com/Iterable/sbt-codeartifact")) + +ThisBuild / developers := List( + Developer( + "douglasthomsen", + "Douglas Thomsen", + "douglas.thomsen@iterable.com", + url("https://github.com/douglasthomsen") ) ) +ThisBuild / scmInfo := Some( + ScmInfo( + url("https://github.com/Iterable/sbt-codeartifact"), + "scm:git@github.com:Iterable/sbt-codeartifact.git" + ) +) lazy val testSettings: Seq[Setting[_]] = Seq( scriptedLaunchOpts := { scriptedLaunchOpts.value ++ Seq( diff --git a/sbt-codeartifact/src/sbt-test/sbt-codeartifact/appends-creds/project/plugins.sbt b/sbt-codeartifact/src/sbt-test/sbt-codeartifact/appends-creds/project/plugins.sbt index c7c5e43..e4d69ff 100644 --- a/sbt-codeartifact/src/sbt-test/sbt-codeartifact/appends-creds/project/plugins.sbt +++ b/sbt-codeartifact/src/sbt-test/sbt-codeartifact/appends-creds/project/plugins.sbt @@ -1 +1 @@ -addSbtPlugin("io.github.bbstilson" % "sbt-codeartifact" % System.getProperty("plugin.version")) +addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version")) diff --git a/sbt-codeartifact/src/sbt-test/sbt-codeartifact/do-not-wait-for-skip/project/plugins.sbt b/sbt-codeartifact/src/sbt-test/sbt-codeartifact/do-not-wait-for-skip/project/plugins.sbt index c7c5e43..e4d69ff 100644 --- a/sbt-codeartifact/src/sbt-test/sbt-codeartifact/do-not-wait-for-skip/project/plugins.sbt +++ b/sbt-codeartifact/src/sbt-test/sbt-codeartifact/do-not-wait-for-skip/project/plugins.sbt @@ -1 +1 @@ -addSbtPlugin("io.github.bbstilson" % "sbt-codeartifact" % System.getProperty("plugin.version")) +addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version")) diff --git a/sbt-codeartifact/src/sbt-test/sbt-codeartifact/resolver/project/plugins.sbt b/sbt-codeartifact/src/sbt-test/sbt-codeartifact/resolver/project/plugins.sbt index c7c5e43..e4d69ff 100644 --- a/sbt-codeartifact/src/sbt-test/sbt-codeartifact/resolver/project/plugins.sbt +++ b/sbt-codeartifact/src/sbt-test/sbt-codeartifact/resolver/project/plugins.sbt @@ -1 +1 @@ -addSbtPlugin("io.github.bbstilson" % "sbt-codeartifact" % System.getProperty("plugin.version")) +addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version"))