Adopt compile-time Lombok for shared and host boilerplate

This commit is contained in:
2026-11-14 07:34:13 +01:00
parent 83b9e4013d
commit 61a72b5cfb
18 changed files with 116 additions and 50 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ with tempfile.TemporaryDirectory(prefix='designer-package-') as tmp:
deps=[Path(s) for s in (ROOT/'designer-standalone/target/package-classpath.txt').read_text().strip().split(os.pathsep)]
paths += sorted(deps,key=lambda f:(0 if f.name.startswith('designer-kit-ui-') else 1,f.name))
for file in paths:
if file.name.endswith('-tests.jar') or any(s in file.name for s in ('junit','intellij','target-tools','preview-api')):
if file.name.endswith('-tests.jar') or any(s in file.name for s in ('junit','intellij','target-tools','preview-api','lombok')):
raise RuntimeError('Unexpected host dependency: '+str(file))
if (stage/file.name).exists(): raise RuntimeError('Duplicate artifact name: '+file.name)
shutil.copy2(file,stage/file.name)