Skip to content

Commit

Permalink
Merge pull request #45 from xuwei-k/patch-1
Browse files Browse the repository at this point in the history
avoid deprecated java.net.URL constructor
  • Loading branch information
eed3si9n authored Oct 14, 2024
2 parents 324432a + c246c9a commit a35ee84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ inThisBuild(
),
isSnapshot := (isSnapshot or version(_ endsWith "-SNAPSHOT")).value,
description := "IPC: Unix Domain Socket and Windows Named Pipes for Java",
licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")),
licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
Expand Down

0 comments on commit a35ee84

Please sign in to comment.