mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-10-26 14:24:30 +00:00
30 lines
808 B
Kotlin
30 lines
808 B
Kotlin
plugins {
|
|
id("com.gtnewhorizons.gtnhconvention")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events("passed", "skipped", "failed")
|
|
}
|
|
javaLauncher = javaToolchains.launcherFor {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
dependsOn(tasks.extractNatives2)
|
|
jvmArgs("-Djava.library.path=${tasks.extractNatives2.get().destinationFolder.asFile.get().path}")
|
|
}
|
|
|
|
tasks.processResources {
|
|
inputs.property("version", project.version.toString())
|
|
filesMatching("META-INF/rfb-plugin/*") {
|
|
expand("version" to project.version.toString())
|
|
}
|
|
}
|
|
|
|
tasks.register<Copy>("copyDependencies") {
|
|
group = "Angelica"
|
|
description = "Collect dependencies into the testDependencies folder"
|
|
from(configurations.default)
|
|
into("testDependencies")
|
|
}
|