1515 *
1616 * You should have received a copy of the GNU General Public License
1717 * along with this plugin. If not, see <https://www.gnu.org/licenses/>.
18- *
19- * Note:
20- * When running the plugin via the `runServer` Gradle task, a JVM system property
21- * `-Dplugin.env=dev` is passed automatically. This enables development-only features
22- * such as verbose logging. Builds via `build` do not enable this property and should
23- * be treated as release mode.
2418 */
2519
2620plugins {
2721 id ' java'
28- id(" xyz.jpenilla.run-paper " ) version " 2 .3.1 "
22+ id(" com.gradleup.shadow " ) version " 8 .3.0 "
2923}
3024
3125group = ' com.zetaplugins'
32- version = ' 1.3.0 '
26+ version = ' 1.3.1 '
3327
3428repositories {
3529 mavenCentral()
@@ -85,7 +79,7 @@ dependencies {
8579 compileOnly ' dev.aurelium:auraskills-api-bukkit:2.2.4'
8680 implementation " com.fasterxml.jackson.core:jackson-databind:2.16.1"
8781
88- implementation " com.zetaplugins:zetacore:1.7.1"
82+ shadow " com.zetaplugins:zetacore:1.7.1"
8983
9084 compileOnly " io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT"
9185
@@ -100,12 +94,16 @@ tasks.register('buildMC1214', Jar) {
10094 archiveClassifier = ' 1.21.4'
10195 from sourceSets. mc1214. output
10296 from sourceSets. main. output
97+
98+ from(configurations. shadow)
10399}
104100
105101tasks. register(' buildMC1219' , Jar ) {
106102 archiveClassifier = ' 1.21.9'
107103 from sourceSets. mc1219. output
108104 from sourceSets. main. output
105+
106+ from(configurations. shadow)
109107}
110108
111109build. dependsOn(buildMC1214, buildMC1219)
0 commit comments