File tree 1 file changed +1
-11
lines changed
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ val assemblePlugin by tasks.registering(Jar::class) {
34
34
from(sourceSets.main.get().output)
35
35
}
36
36
37
- val copyPlugin by tasks.creating(Copy ::class .java) {
37
+ val copyPlugin by tasks.creating(Sync ::class .java) {
38
38
dependsOn(assemblePlugin)
39
39
40
40
val userHome = System .getProperty(" user.home" ).let { Path .of(it) }
@@ -53,19 +53,9 @@ val copyPlugin by tasks.creating(Copy::class.java) {
53
53
} / " plugins"
54
54
55
55
val targetDir = pluginsDir / pluginId
56
- val runtimeClasspath by configurations.getting
57
56
58
57
from(assemblePlugin.get().outputs.files)
59
58
60
- val excludedJarPrefixes = listOf (" gateway-api" )
61
- val filteredClasspath = runtimeClasspath.filter { f ->
62
- ! excludedJarPrefixes.any { p -> f.name.startsWith(p) }
63
- }
64
-
65
- from(filteredClasspath) {
66
- include(" $pluginId .jar" )
67
- }
68
-
69
59
from(" src/main/resources" ) {
70
60
include(" extension.json" )
71
61
include(" icon.svg" )
You can’t perform that action at this time.
0 commit comments