license
annotation
The license
annotation is applied to a module to record its license.
Usage
license("[ASL 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)")
module com.example.foo "1.0" {
}
Description
The license
annotation is processed by the
ceylon doc
tool,
which assumes it contains Markdown formatted text.
It is strongly recommended that the argument to license contain a link to a license document, or the full text of the license, rather than a license name (which might be ambiguous or unknown to the reader).
See also
- API documentation for
license
- Reference for annotations in general