Skip to content

Commit 77cac74

Browse files
committed
fix NoClassDefFoundError: me/gosimple/nbvcxz/Nbvcxz #2
1 parent 978b433 commit 77cac74

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

build.gradle.kts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id("java")
33
id("org.jetbrains.kotlin.jvm") version "1.9.25"
44
id("org.jetbrains.intellij") version "1.17.4"
5+
id("com.github.johnrengelman.shadow") version "8.1.1"
56
}
67

78
group = "com.skgroup"
@@ -19,7 +20,6 @@ dependencies {
1920
implementation("org.apache.maven:maven-model-builder:3.6.3")
2021
}
2122

22-
2323
// Configure Gradle IntelliJ Plugin
2424
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
2525
intellij {
@@ -53,4 +53,15 @@ tasks {
5353
publishPlugin {
5454
token.set(System.getenv("PUBLISH_TOKEN"))
5555
}
56+
57+
shadowJar {
58+
archiveClassifier.set("")
59+
dependencies {
60+
include(dependency("me.gosimple:nbvcxz:1.5.1"))
61+
}
62+
}
63+
64+
buildPlugin {
65+
dependsOn(shadowJar)
66+
}
5667
}

0 commit comments

Comments
 (0)