mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 00:30:02 +00:00
Very basic implementation of IGDB plugin
This commit is contained in:
@@ -7,6 +7,7 @@ subprojects {
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(":plugin-api"))
|
||||
implementation("io.github.oshai:kotlin-logging-jvm:7.0.0")
|
||||
}
|
||||
|
||||
tasks.jar {
|
||||
@@ -26,4 +27,19 @@ subprojects {
|
||||
from(sourceSets["main"].output.classesDirs)
|
||||
from(sourceSets["main"].resources)
|
||||
}
|
||||
|
||||
tasks.register<Copy>("copyDependencyClasses") {
|
||||
dependsOn(tasks.jar)
|
||||
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
|
||||
from(configurations.runtimeClasspath.get().map { project.zipTree(it) }) {
|
||||
include("**/*.class")
|
||||
}
|
||||
into(layout.buildDirectory.get().asFile.resolve("classes/kotlin/main"))
|
||||
}
|
||||
|
||||
tasks.build {
|
||||
dependsOn("copyDependencyClasses")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user