From 0bad9199dc358180257d756f4330884c21a27589 Mon Sep 17 00:00:00 2001 From: A248 Date: Sat, 24 Jul 2021 14:34:23 -0400 Subject: [PATCH] Add Automatic-Module-Name to published api jar (#551) --- api/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/build.gradle b/api/build.gradle index 88036f3ad..6fc5999b0 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -63,6 +63,9 @@ task sourcesJar(type: Jar) { jar { from sourceSets.ap.output + manifest { + attributes 'Automatic-Module-Name': 'com.velocitypowered.api' + } } shadowJar {