Skip to content

Commit edb8752

Browse files
committed
Include license in built jars
1 parent fee8a85 commit edb8752

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ repositories {
7979
}
8080

8181
shadowJar {
82+
from 'LICENSE.md'
83+
8284
dependencies {
8385
exclude(dependency("org.ow2.asm:asm-all:${project.asmVersion}"))
8486
exclude(dependency("net.minecraft:launchwrapper:${project.launchwrapperVersion}"))
@@ -225,6 +227,7 @@ jar {
225227
tasks.register('sourcesJar', Jar) {
226228
archiveClassifier = 'sources'
227229
from sourceSets.main.allSource
230+
from 'LICENSE.md'
228231
}
229232

230233
// This task creates a Java 6 - 8 compatible MultiMC instance with the current build of RetroWrapper.

0 commit comments

Comments
 (0)