33 lines
728 B
Kotlin
33 lines
728 B
Kotlin
plugins {
|
|
`java-gradle-plugin`
|
|
kotlin("jvm") version "1.4.0"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("com.squareup.okhttp3:okhttp:4.9.0")
|
|
implementation("com.jsoniter:jsoniter:0.9.19")
|
|
implementation("com.squareup:kotlinpoet:1.6.0")
|
|
implementation("com.google.guava:guava:29.0-jre")
|
|
}
|
|
|
|
tasks {
|
|
compileKotlin {
|
|
kotlinOptions.freeCompilerArgs = listOf(
|
|
"-Xopt-in=kotlin.time.ExperimentalTime",
|
|
"-progressive"
|
|
)
|
|
}
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
create("minecraft-data-sources") {
|
|
id = "minecraft-data-sources"
|
|
implementationClass = "space.blokk.mdsp.MinecraftDataSourcesPlugin"
|
|
}
|
|
}
|
|
}
|