mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-04 23:53:20 +01:00
40 lines
770 B
Kotlin
40 lines
770 B
Kotlin
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
|
|
plugins {
|
|
`java-library`
|
|
`maven-publish`
|
|
id("com.gradleup.shadow") version "9.3.1"
|
|
}
|
|
|
|
group = "at.helpch"
|
|
version = "1.0.0-experifuckingmental"
|
|
|
|
description = "An awesome placeholder provider!"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.yaml:snakeyaml:2.5")
|
|
|
|
compileOnly(files("libs/HytaleServer.jar"))
|
|
compileOnlyApi("org.jetbrains:annotations:23.0.0")
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
|
|
withJavadocJar()
|
|
withSourcesJar()
|
|
|
|
disableAutoTargetJvm()
|
|
}
|
|
|
|
tasks {
|
|
processResources {
|
|
eachFile { expand("version" to project.version) }
|
|
}
|
|
} |