This repository has been archived by the owner. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 1
- Compiler Interface
2
- ==================
1
+ The compiler interface is a binary contract between Zinc and the Scala
2
+ compiler. The interface is written in Java. All details are subject
3
+ to change.
3
4
4
- Compiler Interface is an internal implementation of Zinc,
5
- used as a binary contract (written in Java) between Zinc and Scala Compilers.
6
- All details are subject to change.
7
-
8
- ### about compiler bridges
5
+ ### About compiler bridges
9
6
10
7
An implementation of a compiler interface specific to a Scala version is called a compiler bridge.
11
8
A build tool is responsible for locating a compiler bridge to use Zinc.
Original file line number Diff line number Diff line change @@ -30,17 +30,17 @@ lazy val compilerInterfaceRoot = (project in file("."))
30
30
crossScalaVersions := Vector (),
31
31
headerLicense := (ThisBuild / headerLicense).value,
32
32
onLoadMessage := {
33
- """ _ __ _ __ ____
34
- | _________ ____ ___ ____ (_) /__ _____ (_)___ / /____ _____/ __/___ _________
33
+ """ _ __ _ __ ____
34
+ | _________ ____ ___ ____ (_) /__ _____ (_)___ / /____ _____/ __/___ _________
35
35
| / ___/ __ \/ __ `__ \/ __ \/ / / _ \/ ___/_____/ / __ \/ __/ _ \/ ___/ /_/ __ `/ ___/ _ \
36
36
| / /__/ /_/ / / / / / / /_/ / / / __/ / /_____/ / / / / /_/ __/ / / __/ /_/ / /__/ __/
37
- | \___/\____/_/ /_/ /_/ .___/_/_/\___/_/ /_/_/ /_/\__/\___/_/ /_/ \__,_/\___/\___/
38
- | /_/
37
+ | \___/\____/_/ /_/ /_/ .___/_/_/\___/_/ /_/_/ /_/\__/\___/_/ /_/ \__,_/\___/\___/
38
+ | /_/
39
39
|welcome to the build for sbt/compiler-interface.
40
40
|""" .stripMargin +
41
41
(if (sys.props(" java.specification.version" ) != " 1.8" )
42
42
s """ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
43
- | Java versions is ${sys.props(" java.specification.version" )}. We recommend 1.8.
43
+ | Java version is ${sys.props(" java.specification.version" )}. We recommend 1.8.
44
44
|!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! """ .stripMargin
45
45
else " " )
46
46
},
You can’t perform that action at this time.
0 commit comments