Skip to content

Commit 3b8babd

Browse files
Fix zetacore shading
1 parent 368d937 commit 3b8babd

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

build.gradle

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,15 @@
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

2620
plugins {
2721
id 'java'
28-
id("xyz.jpenilla.run-paper") version "2.3.1"
22+
id("com.gradleup.shadow") version "8.3.0"
2923
}
3024

3125
group = 'com.zetaplugins'
32-
version = '1.3.0'
26+
version = '1.3.1'
3327

3428
repositories {
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

105101
tasks.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

111109
build.dependsOn(buildMC1214, buildMC1219)

src/main/resources/paper-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: TimberZ
2-
version: '1.3.0'
2+
version: '1.3.1'
33
main: com.zetaplugins.timberz.TimberZ
44
bootstrapper: com.zetaplugins.timberz.bootstrap.TimberZBootstrap
55
api-version: '1.21'

0 commit comments

Comments
 (0)