Fix license bundling

This commit is contained in:
KennyTV 2021-03-21 20:07:32 +01:00
parent 81b9f1b4cd
commit bdeb5acae9
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
3 changed files with 4 additions and 1 deletions

View File

@ -51,7 +51,7 @@ After cloning this repository, build the project with Gradle by running `/gradle
License:
--------
MIT License, see LICENSE for more details.
MIT License, see LICENSE.txt for more details.
Special thanks to all our [Contributors](https://github.com/ViaVersion/ViaVersion/graphs/contributors)

View File

@ -24,6 +24,9 @@ fun Project.configureShadowJar() {
if (name == "jar") {
archiveClassifier.set("unshaded")
}
from(project.parent!!.file("LICENSE.txt")) {
into("")
}
}
}
}