-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace ceylon.http.server dependency with Takes.
This reduces the size of the final jar by about one megabyte. This is something of a compromise; the first lightweight HTTP server I found was [JLHTTP](https://www.freeutils.net/source/jlhttp/), but as it's GPL-2 and this project is GPL-3 its license is incompatible. The second I tried was [NanoHTTPD](https://github.com/NanoHttpd/nanohttpd), but that triggered eclipse-archived/ceylon-ide-intellij#669 in the IDE and a 'duplicate class' backend error (reported as being in an unrelated module) in the command-line compiler, so I had to give up on that. Because this pulls in dependencies too (just slightly lighter-weight ones that ceylon.http.server), I should try NanoHTTPD again when it makes its next release.
- Loading branch information
1 parent
e3bf175
commit 2ca2d7b
Showing
5 changed files
with
117 additions
and
129 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters