mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 08:15:48 +00:00
Copy LICENSE and AUTHORS to runtime jar
This commit is contained in:
1 parent
1ea6c0607e
commit
6ccec72c7e
2 files changed
+4
-2
No files matched your search
@@ -1,4 +1,4 @@
|
||||
Copyright (C) 2009-2010 The Project Lombok Authors.
|
||||
Copyright (C) 2009-2011 The Project Lombok Authors.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2009 The Project Lombok Authors.
|
||||
* Copyright (C) 2009-2011 The Project Lombok Authors.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -160,6 +160,8 @@ public class CreateLombokRuntimeApp implements LombokApp {
|
||||
boolean success = false;
|
||||
try {
|
||||
JarOutputStream jar = new JarOutputStream(out);
|
||||
deps.put("LICENSE", CreateLombokRuntimeApp.class);
|
||||
deps.put("AUTHORS", CreateLombokRuntimeApp.class);
|
||||
for (Entry<String, Class<?>> dep : deps.entrySet()) {
|
||||
InputStream in = dep.getValue().getResourceAsStream("/" + dep.getKey());
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user