-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
53 lines (47 loc) · 1.4 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import org.spongepowered.gradle.plugin.config.PluginLoaders
import org.spongepowered.plugin.metadata.PluginDependency
plugins {
kotlin("jvm") version "1.4.21"
id("org.spongepowered.gradle.plugin") version "1.1.1"
}
project.group = "dev.divinegenesis"
repositories {
mavenCentral()
}
sponge {
apiVersion("8.0.0")
plugin("soulbound") {
loader(PluginLoaders.JAVA_PLAIN)
displayName("Soulbound")
mainClass("dev.divinegenesis.soulbound.Soulbound")
description("Bind items to users soul")
links {
homepage("https://github.com/DivineGenesis/BetterSoulBinding")
source("https://github.com/DivineGenesis/BetterSoulBinding")
issues("https://github.com/DivineGenesis/BetterSoulBinding/issues")
}
contributor("DrZodd") {
description("Dev")
}
dependency("spongeapi") {
loadOrder(PluginDependency.LoadOrder.AFTER)
optional(false)
}
dependency("spotlin") {
loadOrder(PluginDependency.LoadOrder.AFTER)
optional(false)
version("0.3.0")
}
}
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("org.spongepowered:configurate-extra-kotlin:4.1.1")
}
tasks {
val java = "15" //16 bugs out
compileKotlin {
kotlinOptions { jvmTarget = java }
sourceCompatibility = java
}
}