parent
1db07dc567
commit
d7b53f61d3
2 changed files with 2 additions and 4 deletions
|
@ -15,7 +15,6 @@ In order to use this mod as a template:
|
||||||
- If you are planning to include (jar-in-jar) a mod, don't forget to declare its dependency on it!
|
- If you are planning to include (jar-in-jar) a mod, don't forget to declare its dependency on it!
|
||||||
- The icon provided here is a placeholder one. If you aren't able to replace it yet, you can delete it and remove the "icon" property
|
- The icon provided here is a placeholder one. If you aren't able to replace it yet, you can delete it and remove the "icon" property
|
||||||
- Create a LICENSE file for this mod! If you don't know which license to use, check out [here](https://choosealicense.com/).
|
- Create a LICENSE file for this mod! If you don't know which license to use, check out [here](https://choosealicense.com/).
|
||||||
- If you use `LICENSE.md`, don't forget to update the buildscript in order to use that file name!
|
|
||||||
- In `quilt.mod.json`, don't forget to put the license's [SPDX identifier](https://spdx.org/licenses/) under the `"license"` property in `"metadata"`.
|
- In `quilt.mod.json`, don't forget to put the license's [SPDX identifier](https://spdx.org/licenses/) under the `"license"` property in `"metadata"`.
|
||||||
- The GPLv3 and AGPLv3 are not valid mod licenses, so you can use almost any license except for those.
|
- The GPLv3 and AGPLv3 are not valid mod licenses, so you can use almost any license except for those.
|
||||||
- Update the Java sub-directory structure so it reflects your Maven group
|
- Update the Java sub-directory structure so it reflects your Maven group
|
||||||
|
|
|
@ -63,10 +63,9 @@ java {
|
||||||
// withJavadocJar()
|
// withJavadocJar()
|
||||||
}
|
}
|
||||||
|
|
||||||
// If you plan to use a different file for the license, don't forget to change the file name here!
|
|
||||||
jar {
|
jar {
|
||||||
from('LICENSE') {
|
filesMatching('LICENSE') {
|
||||||
rename { "${it}_${archivesBaseName}" }
|
rename '^(LICENSE.*?)(\\..*)?$', "\$1_${archivesBaseName}\$2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue