2022-02-27 22:38:55 +00:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
2022-10-04 22:18:53 +00:00
|
|
|
maven("https://repo.opencollab.dev/maven-snapshots")
|
2022-02-27 22:38:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("net.kyori", "indra-common", "2.0.6")
|
|
|
|
implementation("org.jfrog.buildinfo", "build-info-extractor-gradle", "4.26.1")
|
2022-10-04 22:18:53 +00:00
|
|
|
implementation("com.github.johnrengelman", "shadow", "7.1.3-SNAPSHOT")
|
2022-10-03 20:11:07 +00:00
|
|
|
|
|
|
|
// Within the gradle plugin classpath, there is a version conflict between loom and some other
|
|
|
|
// plugin for databind. This fixes it: minimum 2.13.2 is required by loom.
|
2022-11-24 01:10:04 +00:00
|
|
|
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.0")
|
2022-02-27 22:38:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "16"
|
|
|
|
}
|
2022-11-24 01:10:04 +00:00
|
|
|
}
|