Skip to content

Commit

Permalink
avoid deprecated java.net.URL constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 14, 2024
1 parent 324432a commit c246c9a
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 c246c9a

Please sign in to comment.