This repository has been archived by the owner on Dec 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle.kts
55 lines (50 loc) · 1.91 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
54
55
plugins {
`java-gradle-plugin`
`kotlin-dsl`
id("com.gradle.plugin-publish") version "1.2.0"
id("org.cadixdev.licenser") version "0.6.1"
}
val url: String by extra
repositories {
gradlePluginPortal()
}
dependencies {
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.15.2") {
exclude(group = "org.jetbrains.kotlin")
}
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.15.2")
}
gradlePlugin {
website.set(url)
vcsUrl.set(url)
plugins {
register("bukkit") {
id = "net.minecrell.plugin-yml.bukkit"
displayName = "plugin-yml (Bukkit)"
description = "Generate plugin.yml for Bukkit plugins based on the Gradle project"
implementationClass = "net.minecrell.pluginyml.bukkit.BukkitPlugin"
tags.set(listOf("bukkit"))
}
register("bungee") {
id = "net.minecrell.plugin-yml.bungee"
displayName = "plugin-yml (BungeeCord)"
description = "Generate bungee.yml for BungeeCord plugins based on the Gradle project"
implementationClass = "net.minecrell.pluginyml.bungee.BungeePlugin"
tags.set(listOf("bungee"))
}
register("nukkit") {
id = "net.minecrell.plugin-yml.nukkit"
displayName = "plugin-yml (Nukkit)"
description = "Generate nukkit.yml for Nukkit plugins based on the Gradle project"
implementationClass = "net.minecrell.pluginyml.nukkit.NukkitPlugin"
tags.set(listOf("nukkit"))
}
register("paper") {
id = "net.minecrell.plugin-yml.paper"
displayName = "plugin-yml (Paper)"
description = "Generate paper-plugin.yml for Paper plugins based on the Gradle project"
implementationClass = "net.minecrell.pluginyml.paper.PaperPlugin"
tags.set(listOf("paper"))
}
}
}