Copy plugins to assets directory for fast testing

This commit is contained in:
fgnm
2021-04-24 17:47:44 +02:00
parent c041af6c3e
commit 11e7e1c611
4 changed files with 32 additions and 0 deletions
+8
View File
@@ -28,4 +28,12 @@ task dist(type: Jar) {
from files(sourceSets.main.output.resourcesDir)
destinationDirectory = file("../build/lib/plugins")
doLast {
def jarToCopy = archiveFileName.get()
copy {
from "../build/lib/plugins/$jarToCopy"
into "../assets/plugins"
}
}
}
+8
View File
@@ -28,4 +28,12 @@ task dist(type: Jar) {
from files(sourceSets.main.output.resourcesDir)
destinationDirectory = file("../build/lib/plugins")
doLast {
def jarToCopy = archiveFileName.get()
copy {
from "../build/lib/plugins/$jarToCopy"
into "../assets/plugins"
}
}
}
+8
View File
@@ -30,4 +30,12 @@ task dist(type: Jar) {
from files(sourceSets.main.output.resourcesDir)
destinationDirectory = file("../build/lib/plugins")
doLast {
def jarToCopy = archiveFileName.get()
copy {
from "../build/lib/plugins/$jarToCopy"
into "../assets/plugins"
}
}
}
+8
View File
@@ -50,4 +50,12 @@ task dist(type: Jar) {
from files(project.assetsDir)
destinationDirectory = file("../build/lib/plugins")
doLast {
def jarToCopy = archiveFileName.get()
copy {
from "../build/lib/plugins/$jarToCopy"
into "../assets/plugins"
}
}
}