Skip to content

Commit

Permalink
Merge pull request #2 from adRise/huajiang/update-origanization-name
Browse files Browse the repository at this point in the history
update organization name
  • Loading branch information
huajiang-tubi authored Dec 5, 2024
2 parents 118f862 + 3d49850 commit 9e2e609
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
distribution: temurin
java-version: 8
cache: sbt
- run: sbt ci-release
- run: sbt -Djava.util.logging.config.file=logging.properties ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,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("com.iterable" % "sbt-codeartifact" % version)
addSbtPlugin("com.tubitv" % "sbt-codeartifact" % version)
```

## Usage
Expand Down
10 changes: 4 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
ThisBuild / organization := "com.iterable"
ThisBuild / organizationName := "Iterable"
ThisBuild / organizationHomepage := Some(url("https://iterable.com"))
ThisBuild / organization := "com.tubitv"

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 / homepage := Some(url("https://github.com/adRise/sbt-codeartifact"))

ThisBuild / developers := List(
Developer(
Expand All @@ -17,8 +15,8 @@ ThisBuild / developers := List(

ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/Iterable/sbt-codeartifact"),
"scm:[email protected]:Iterable/sbt-codeartifact.git"
url("https://github.com/adRise/sbt-codeartifact"),
"scm:[email protected]:adRise/sbt-codeartifact.git"
)
)
lazy val testSettings: Seq[Setting[_]] = Seq(
Expand Down
13 changes: 13 additions & 0 deletions logging.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
handlers= java.util.logging.ConsoleHandler

.level= INFO

java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.maxLocks = 100
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter

java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
sun.net.www.protocol.http.HttpURLConnection.level = FINE
9 changes: 9 additions & 0 deletions project/SetLoggerLevel.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import sun.util.logging.PlatformLogger

object SetLoggerLevel {
def setHttpURLConnectionLoggerLevelToFine(): Unit = {
PlatformLogger
.getLogger("sun.net.www.protocol.http.HttpURLConnection")
.setLevel(PlatformLogger.Level.FINE)
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version"))
addSbtPlugin("com.tubitv" % "sbt-codeartifact" % System.getProperty("plugin.version"))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version"))
addSbtPlugin("com.tubitv" % "sbt-codeartifact" % System.getProperty("plugin.version"))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.iterable" % "sbt-codeartifact" % System.getProperty("plugin.version"))
addSbtPlugin("com.tubitv" % "sbt-codeartifact" % System.getProperty("plugin.version"))

0 comments on commit 9e2e609

Please sign in to comment.