Adopt compile-time Lombok for shared and host boilerplate
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user