mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
Switch back over to using flat-file plugin info, auto-copy properties files in gradle
This commit is contained in:
parent
dd52e7e9fb
commit
029c13233f
33 changed files with 70 additions and 85 deletions
|
|
@ -98,8 +98,16 @@ class plugin : Plugin() {
|
|||
|
||||
task buildPlugins(type: Copy, dependsOn: classes) {
|
||||
def pluginsPath = rootProject.project("client").projectDir.absolutePath + File.separator + "plugins"
|
||||
from "build/classes/java/main"
|
||||
into pluginsPath
|
||||
from "build/classes/kotlin/main"
|
||||
into pluginsPath
|
||||
copy {
|
||||
from(layout.projectDirectory.dir("src/main/java"))
|
||||
from (layout.projectDirectory.dir("src/main/kotlin"))
|
||||
include("**/*.properties")
|
||||
into pluginsPath
|
||||
}
|
||||
|
||||
copy {
|
||||
from "build/classes/java/main"
|
||||
from "build/classes/kotlin/main"
|
||||
into pluginsPath
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue