mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Fix resources packaging in buildPlugin
This commit is contained in:
parent
e406cd58cd
commit
d1f431e98e
@ -96,6 +96,9 @@ class MiraiConsoleGradlePlugin : Plugin<Project> {
|
||||
compilations.forEach {
|
||||
dependsOn(it.compileKotlinTask)
|
||||
from(it.output)
|
||||
for (allKotlinSourceSet in it.allKotlinSourceSets) {
|
||||
from(allKotlinSourceSet.resources)
|
||||
}
|
||||
}
|
||||
|
||||
from(project.configurations.getByName("runtimeClasspath").copyRecursive { dependency ->
|
||||
|
Loading…
Reference in New Issue
Block a user