Skip to content

Commit

Permalink
Updating for iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasthomsen committed Aug 13, 2024
1 parent d442431 commit 99e7a8b
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 23 deletions.
10 changes: 10 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release
on:
push:
branches: [main]
branches: [main, Original]
tags: ["*"]
jobs:
publish:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.class
*.log
.idea
**/out/
**/.bloop/
**/.bsp/
Expand Down
4 changes: 4 additions & 0 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -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
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
# 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

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
Expand Down
33 changes: 20 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -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",
"[email protected]",
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",
"[email protected]",
url("https://github.com/douglasthomsen")
)
)

ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/Iterable/sbt-codeartifact"),
"scm:[email protected]:Iterable/sbt-codeartifact.git"
)
)
lazy val testSettings: Seq[Setting[_]] = Seq(
scriptedLaunchOpts := {
scriptedLaunchOpts.value ++ Seq(
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("io.github.bbstilson" % "sbt-codeartifact" % System.getProperty("plugin.version"))
addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version"))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("io.github.bbstilson" % "sbt-codeartifact" % System.getProperty("plugin.version"))
addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version"))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("io.github.bbstilson" % "sbt-codeartifact" % System.getProperty("plugin.version"))
addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version"))

0 comments on commit 99e7a8b

Please sign in to comment.