Registry / build-tool / scala-compiler

scala-compiler

JSON →
library2.13.18javamavenunverified

The compiler for the Scala programming language, capable of compiling Scala source code to JVM bytecode.

<dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-compiler</artifactId> <version>2.13.18</version> </dependency>
INSTALL
IMPORT
SIG · SCALA-COMPILER
S
scala-compiler
build-tooljavav2.13.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Main
scala.tools.nsc.Main

Shows invoking the Scala compiler programmatically.

import scala.tools.nsc.Main; public class Example { public static void main(String[] args) { Main.main(new String[]{"MyFile.scala"}); } }
Debug
Known issues
breakingScala 2.13.x is not binary compatible with Scala 2.12.x or 3.x.
fix
Ensure all Scala dependencies use the same Scala version (e.g., 2.13.x).
affects: >=2.13.0
Upgrade
Version history
2.13.18latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
14
OpenAI (training)
1
Resources
scala-compiler — mvn dependency:get scala-compiler · libregistry