File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 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) {
3434 from(sourceSets.main.get().output)
3535}
3636
37- val copyPlugin by tasks.creating(Copy ::class .java) {
37+ val copyPlugin by tasks.creating(Sync ::class .java) {
3838 dependsOn(assemblePlugin)
3939
4040 val userHome = System .getProperty(" user.home" ).let { Path .of(it) }
@@ -53,19 +53,9 @@ val copyPlugin by tasks.creating(Copy::class.java) {
5353 } / " plugins"
5454
5555 val targetDir = pluginsDir / pluginId
56- val runtimeClasspath by configurations.getting
5756
5857 from(assemblePlugin.get().outputs.files)
5958
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-
6959 from(" src/main/resources" ) {
7060 include(" extension.json" )
7161 include(" icon.svg" )
You can’t perform that action at this time.
0 commit comments