mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 16:20:04 +00:00
Got 3rd party dependencies working in development mode
This commit is contained in:
@@ -3,5 +3,29 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Kotlin annotation processor
|
||||
ksp("care.better.pf4j:pf4j-kotlin-symbol-processing:2.0.20-1.0.1")
|
||||
|
||||
// IGDB API client
|
||||
implementation("io.github.husnjak:igdb-api-jvm:1.2.0")
|
||||
|
||||
compileOnly("org.slf4j:slf4j-api:2.0.16")
|
||||
}
|
||||
|
||||
tasks.register<Copy>("copyDependencyClasses") {
|
||||
dependsOn(tasks.jar)
|
||||
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
|
||||
from(configurations.runtimeClasspath.get().map { project.zipTree(it) }) {
|
||||
include("**/*.class")
|
||||
}
|
||||
from("src/main/resources/MANIFEST.MF") {
|
||||
into("META-INF")
|
||||
}
|
||||
into(layout.buildDirectory.get().asFile.resolve("classes/kotlin/main"))
|
||||
}
|
||||
|
||||
tasks.build {
|
||||
dependsOn("copyDependencyClasses")
|
||||
}
|
||||
Reference in New Issue
Block a user