...
Besides of the bug
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Any kind of definition is evaluated as a string and the that string shall :
- The string can match the Short ID or the License URL in the Built-In License Headers
...
- The string can be a file path relative to the project dir.
- The string can
...
- be a file path relative to the root project dir. (When this is released:
)Jira server ASF JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 5aa69414-a9e9-3523-82ec-879b028fb15b key NETBEANS-2756 - The string can be point to an absolute file path.
(Can be useful asext.license = file("$rootDir/license.header")
in the rootbuild.gradle
of a multi-module projects till NETBEANS-2756 in place.)
The properties are evaluated in the following order:
...
See the blog entry, however it is the project.license
Ant property which is being read and evaluated for the license information.
Built-In License Headers
Name | Short ID | License URL |
---|---|---|
ASF - Apache License 2.0 | apache20-asf | https://opensource.org/licenses/Apache-2.0 |
Apache License 2.0 | apache20 | https://opensource.org/licenses/Apache-2.0 |
BSD 2 - Clause License | bsd2 | https://opensource.org/licenses/BSD-2-Clause |
Eclipse Public License 1.0 | epl10 | https://opensource.org/licenses/EPL-1.0 |
General Public License 2.0 | gpl20 | https://opensource.org/licenses/GPL-2.0 |
General Public License 3.0 | gpl30 | https://opensource.org/licenses/GPL-3.0 |
Lesser GPL 2.1 | lgpl21 | |
MIT | mit | https://opensource.org/licenses/MIT |
NetBeans CDDL/GPL | cddl-netbeans-sun | N/A |