mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-14 08:15:27 +00:00
29 lines
703 B
Kotlin
29 lines
703 B
Kotlin
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
subprojects {
|
|
apply(plugin = "org.jetbrains.kotlin.jvm")
|
|
|
|
dependencies {
|
|
compileOnly(project(":plugin-api"))
|
|
}
|
|
|
|
tasks.jar {
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
isZip64 = true
|
|
archiveBaseName.set("plugin-${project.name}")
|
|
|
|
manifest {
|
|
from("./src/main/resources/MANIFEST.MF")
|
|
}
|
|
|
|
from(configurations.runtimeClasspath.get().map { project.zipTree(it) }) {
|
|
exclude("META-INF/*.SF")
|
|
exclude("META-INF/*.DSA")
|
|
exclude("META-INF/*.RSA")
|
|
}
|
|
from(sourceSets["main"].output.classesDirs)
|
|
from(sourceSets["main"].resources)
|
|
}
|
|
} |