Copy LICENSE and AUTHORS to runtime jar

This commit is contained in:
Roel Spilker
2011-12-12 23:55:30 +01:00
parent 1ea6c0607e
commit 6ccec72c7e
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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 {