mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-10 10:20:44 -07:00
Automatically add optional res folder into output
This commit is contained in:
parent
310c88600a
commit
a31437ef82
1 changed files with 6 additions and 0 deletions
|
|
@ -110,4 +110,10 @@ task buildPlugins(type: Copy, dependsOn: classes) {
|
||||||
from "build/classes/kotlin/main"
|
from "build/classes/kotlin/main"
|
||||||
into pluginsPath
|
into pluginsPath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Find and copy any 'res' directories from 'src/main/kotlin/**/res/'
|
||||||
|
copy {
|
||||||
|
from fileTree(dir: "src/main/kotlin", include: "**/res/**")
|
||||||
|
into pluginsPath
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue