Skip to content

Commit f7bd300

Browse files
authored
Switch java-class-name to the VL fork & bump to 0.1.3 (#2502)
1 parent c4a76f1 commit f7bd300

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

DEV.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Here's some of the more important external projects used by Scala CLI:
165165
from OpenJDK, with CRC32 calculations disabled.
166166
- [lightweight-spark-distrib](https://github.com/VirtusLab/lightweight-spark-distrib): a small application allowing
167167
to make Spark distributions more lightweight.
168-
- [java-class-name](https://github.com/scala-cli/java-class-name): a small library to extract class names
168+
- [java-class-name](https://github.com/VirtusLab/java-class-name): a small library to extract class names
169169
from Java sources.
170170

171171
The use of external binaries allows to make the Scala CLI binary slimmer and faster

modules/build/src/main/scala/scala/build/internal/JavaParserProxyBinary.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class JavaParserProxyBinary(
4646
else ("v" + version, false)
4747
val ext = if (Properties.isWin) ".zip" else ".gz"
4848
val url =
49-
s"https://github.com/scala-cli/java-class-name/releases/download/$tag/java-class-name-$platformSuffix$ext"
49+
s"https://github.com/VirtusLab/java-class-name/releases/download/$tag/java-class-name-$platformSuffix$ext"
5050

5151
val params = ExternalBinaryParams(
5252
url,

project/deps.sc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ object Deps {
9595
def scalaPackager = "0.1.29"
9696
def signingCli = "0.2.3"
9797
def signingCliJvmVersion = 17
98+
def javaClassName = "0.1.3"
9899
}
99100
// DO NOT hardcode a Scala version in this dependency string
100101
// This dependency is used to ensure that Ammonite is available for Scala versions
@@ -116,14 +117,15 @@ object Deps {
116117
def dependency = ivy"io.get-coursier::dependency:0.2.3"
117118
def dockerClient = ivy"com.spotify:docker-client:8.16.0"
118119
// TODO bump once 0.15.5 is out
119-
def expecty = ivy"com.eed3si9n.expecty::expecty:0.16.0"
120-
def fansi = ivy"com.lihaoyi::fansi:0.4.0"
121-
def giter8 = ivy"org.foundweekends.giter8:giter8:0.16.2"
122-
def guava = ivy"com.google.guava:guava:32.1.3-jre"
123-
def javaClassName = ivy"io.github.alexarchambault.scala-cli:java-class-name_3:0.1.0"
124-
def jgit = ivy"org.eclipse.jgit:org.eclipse.jgit:6.7.0.202309050840-r"
125-
def jimfs = ivy"com.google.jimfs:jimfs:1.3.0"
126-
def jniUtils = ivy"io.get-coursier.jniutils:windows-jni-utils:0.3.3"
120+
def expecty = ivy"com.eed3si9n.expecty::expecty:0.16.0"
121+
def fansi = ivy"com.lihaoyi::fansi:0.4.0"
122+
def giter8 = ivy"org.foundweekends.giter8:giter8:0.16.2"
123+
def guava = ivy"com.google.guava:guava:32.1.3-jre"
124+
def javaClassName =
125+
ivy"org.virtuslab.scala-cli.java-class-name:java-class-name_3:${Versions.javaClassName}"
126+
def jgit = ivy"org.eclipse.jgit:org.eclipse.jgit:6.7.0.202309050840-r"
127+
def jimfs = ivy"com.google.jimfs:jimfs:1.3.0"
128+
def jniUtils = ivy"io.get-coursier.jniutils:windows-jni-utils:0.3.3"
127129
def jsoniterCore =
128130
ivy"com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-core:${Versions.jsoniterScalaJava8}"
129131
def jsoniterCoreJava8 =

0 commit comments

Comments
 (0)