Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit408d6e7

Browse files
committed
don't copy all jars
1 parent8da4298 commit408d6e7

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

‎build.gradle.kts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp