diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/README.md b/README.md index bb30f5d9c..44cf5fa67 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/buildSrc/src/main/kotlin/extensions.kt b/buildSrc/src/main/kotlin/extensions.kt index e2072ea62..68d80b984 100644 --- a/buildSrc/src/main/kotlin/extensions.kt +++ b/buildSrc/src/main/kotlin/extensions.kt @@ -24,6 +24,9 @@ fun Project.configureShadowJar() { if (name == "jar") { archiveClassifier.set("unshaded") } + from(project.parent!!.file("LICENSE.txt")) { + into("") + } } } }