Skip to content

Commit a35ee84

Browse files
authored
Merge pull request #45 from xuwei-k/patch-1
avoid deprecated java.net.URL constructor
2 parents 324432a + c246c9a commit a35ee84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ inThisBuild(
6161
),
6262
isSnapshot := (isSnapshot or version(_ endsWith "-SNAPSHOT")).value,
6363
description := "IPC: Unix Domain Socket and Windows Named Pipes for Java",
64-
licenses := Seq("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")),
64+
licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
6565
publishTo := {
6666
val nexus = "https://oss.sonatype.org/"
6767
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")

0 commit comments

Comments
 (0)