Commit 16a6ff0
authored
chore: make incremental compilation work with stdlib plugin and enable it in the new stdlib (#23592)
Two main things here:
- We changed the `ScalaLibraryPlugin` to be able to work smoothly with
the incremental compilation
- We enable the plugin in the new stdlib projects.
Some resources:
- Hijacking the compilation analysis:
https://github.com/playframework/play-enhancer/blob/74fd35ff0ed18ec2084405d1a6124898cc22e857/plugin/src/main/scala-sbt-1.0/com/typesafe/play/sbt/enhancer/PlayEnhancer.scala
- sbt docs:
https://www.scala-sbt.org/1.x/docs/Understanding-Recompilation.html#Bytecode+Enhancers2 files changed
+38
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
| 1422 | + | |
1422 | 1423 | | |
1423 | 1424 | | |
1424 | 1425 | | |
| |||
1451 | 1452 | | |
1452 | 1453 | | |
1453 | 1454 | | |
| 1455 | + | |
1454 | 1456 | | |
1455 | 1457 | | |
1456 | 1458 | | |
| |||
1480 | 1482 | | |
1481 | 1483 | | |
1482 | 1484 | | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
1483 | 1489 | | |
1484 | | - | |
1485 | 1490 | | |
1486 | 1491 | | |
1487 | 1492 | | |
| |||
1500 | 1505 | | |
1501 | 1506 | | |
1502 | 1507 | | |
1503 | | - | |
| 1508 | + | |
1504 | 1509 | | |
1505 | 1510 | | |
1506 | 1511 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | | - | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
51 | 64 | | |
52 | 65 | | |
53 | 66 | | |
| |||
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
| 72 | + | |
59 | 73 | | |
60 | 74 | | |
61 | | - | |
62 | | - | |
63 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
64 | 80 | | |
65 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
66 | 84 | | |
67 | 85 | | |
68 | 86 | | |
| |||
0 commit comments