Eugene Yokota
dbaa34bdac
Interpret bare settings are common settings
...
See https://eed3si9n.com/simplifying-sbt-with-common-settings/
Problem
-------
The behavior of bare settings is confusing in a multi-project build.
This is partly due to the fact that to use `ThisBuild` scoping
the build user needs to be aware of the task implementation,
and know if the task is already defined at project level.
Solution
--------
This changes the interpretation of the baresettings to be common
settings, which works similar to the way `ThisBuild` behaves in sbt 1.x,
but since this would be a simple append at project-level, it should
work for any tasks or settings.
2023-03-11 17:02:07 -05:00
Eugene Yokota
32ac1ef7da
Formatting
2023-03-11 17:02:07 -05:00
Eugene Yokota
b4564306d6
Move the project scripted tests to project1
2023-01-26 15:12:19 -05:00
Eugene Yokota
a8213abb92
Add more keys to excludeLintKeys
2023-01-20 22:34:44 -05:00
Eugene Yokota
ec3eda3cc2
scripted tests
2023-01-20 21:50:53 -05:00
Eugene Yokota
9821f5e1b4
def % support
2023-01-20 16:14:51 -05:00
Eugene Yokota
9219ed6bd4
lm alpha10
2023-01-19 17:48:21 -05:00
Eugene Yokota
84a5fcb035
Use extension method to encode the syntax
2023-01-18 00:50:30 -05:00
Eugene Yokota
e5dd518deb
Adjust to changes in develop branch
2023-01-16 00:23:05 -05:00
Eugene Yokota
e8223cc8be
Fixes scripted tests
2023-01-15 23:50:31 -05:00
Eugene Yokota
fc31bc3d15
Fix aggregation
2023-01-15 23:50:30 -05:00
Eugene Yokota
a20d5205af
Minor Scala 3 syntax change
2023-01-15 23:50:30 -05:00
Eugene Yokota
e1c4fd5f1d
Fix setting loading
2023-01-15 23:50:30 -05:00
Eugene Yokota
78bf095c44
Add convertion to ClasspathDep
2023-01-15 23:50:30 -05:00
Eugene Yokota
2642ba30cc
Fix InputKey
2023-01-15 23:50:30 -05:00
Eugene Yokota
eb7a51c629
Mark dependency management tests pending
2023-01-15 23:50:30 -05:00
Eugene Yokota
5bbb671341
config macro
2023-01-15 23:50:30 -05:00
Eugene Yokota
d4dc90efd9
add Conversion from Project => LocalProject
2023-01-15 23:50:30 -05:00
Eugene Yokota
d2c2563d8a
Use scala-xml_3 instead
2023-01-15 23:50:30 -05:00
Eugene Yokota
28febfb9c8
Downgrade scala-xml to 2.13
2023-01-15 23:50:30 -05:00
Eugene Yokota
bd4f7b7b73
sjson-new 0.13.0
2023-01-15 23:50:30 -05:00
Eugene Yokota
9839b45029
Turn off turbo mode for now
2023-01-15 23:50:30 -05:00
Eugene Yokota
193b47b49b
Fix taskDyn
2023-01-15 23:50:30 -05:00
Eugene Yokota
9f5525c989
inline parameter removes let binding
2023-01-15 23:50:29 -05:00
Eugene Yokota
b1818b446b
Convert to using slash syntax
2023-01-15 23:50:29 -05:00
Eugene Yokota
ceb1ea8aad
bump Zinc, which uses current util
2023-01-15 23:50:29 -05:00
Eugene Yokota
fbc98ed72e
Use ClassTag instead of Manifest
2023-01-15 23:50:29 -05:00
Eugene Yokota
ecd59bd3e1
Scalafmt 3.6.0
2023-01-15 23:50:29 -05:00
Eugene Yokota
20420b9f75
Use launcher scripted tests
2023-01-15 23:50:27 -05:00
Eugene Yokota
a9a8ab6341
Zinc 2.0.0-alpha2
2023-01-15 23:48:51 -05:00
Eugene Yokota
c354015129
Comment out server test
2023-01-15 23:48:13 -05:00
Eugene Yokota
d5d2ff05f0
Comment out tests
2023-01-15 23:48:13 -05:00
Eugene Yokota
8c2e4f936e
Fix lazy val support
...
Problem
-------
By Typer phase it seems like lazy val is expanded out to
`def x(): Int` and synthetic `val x$lzy1`,
which results in NoSuchMethod `x$lzy1`.
Solution
--------
Assume the naming convention and grab the part before `$`.
2023-01-15 23:48:13 -05:00
Eugene Yokota
ad90590bc6
Fix project loading
...
Problem
-------
Given val root, currently both `root` and synthetic root gets loaded.
This might be caused by build.sbt being virtualized, and no longer
matching the build root directory.
Solution
--------
For now, comparing the canonical paths seems to fix the issue.
2023-01-15 23:48:13 -05:00
Eugene Yokota
408868dc03
Comment out 2.13 util tests
2023-01-15 23:48:13 -05:00
Eugene Yokota
54c12819df
Adjust to the code changes
2023-01-15 23:48:13 -05:00
Eugene Yokota
9a2ca3c4da
Fix compilation of the intrinsic Scala version
2023-01-15 23:48:13 -05:00
Eugene Yokota
4f85c11e01
Some minor tweaks to get things moving
2023-01-15 23:48:13 -05:00
Eugene Yokota
cba7a0efc3
Refactor to build mainProj
2023-01-15 23:48:11 -05:00
Eugene Yokota
100f1ac09c
Use flatMapTask instead of taskDyn
2023-01-15 23:47:41 -05:00
Eugene Yokota
e9490e203b
Use Type to compare types instead of TypeRepr
2023-01-15 23:45:35 -05:00
Eugene Yokota
0ee7d11afe
Migrate updateTask via tuple syntax
2023-01-15 23:45:35 -05:00
Eugene Yokota
0c6eb093ac
Rename tuple syntax to use mapN
2023-01-15 23:45:35 -05:00
Eugene Yokota
98302d7a13
Fix BSP
2023-01-15 23:45:35 -05:00
Eugene Yokota
fe0de6ca30
Fix input task macro
2023-01-15 23:45:35 -05:00
Eugene Yokota
d802c2ba04
valStart to change synthetic variable names
2023-01-15 23:45:35 -05:00
Eugene Yokota
73c7236c2c
Refactor to use Type instead of TypeRepr
2023-01-15 23:45:35 -05:00
Eugene Yokota
61d4fe2d30
Implement input task helper Def.input
2023-01-15 23:45:35 -05:00
Eugene Yokota
441f56bf6e
Fix task-standard tests
2023-01-15 23:45:35 -05:00
Eugene Yokota
7a16185edc
Fix util-collection test
2023-01-15 23:45:35 -05:00