generated from devcordde/PluginJamGradle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
47 lines (38 loc) · 1.06 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
plugins {
id("de.nycode.spigot-dependency-loader") version "1.1.2"
id("io.micronaut.library") version "3.5.1"
id("com.github.johnrengelman.shadow") version "7.1.2"
// id("net.minecrell.plugin-yml.bukkit") version "0.5.1"
}
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
group = "club.devcord.gamejam"
version = "1.0-SNAPSHOT"
description = "fortmord"
dependencies {
annotationProcessor("io.micronaut:micronaut-inject-java")
spigot("io.micronaut", "micronaut-inject-java", "3.6.1")
implementation("io.micronaut", "micronaut-runtime", "3.6.1")
compileOnly("io.papermc.paper:paper-api:1.19.2-R0.1-SNAPSHOT")
}
tasks {
shadowJar {
mergeServiceFiles()
}
}
micronaut {
version("3.6.1")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
//bukkit {
// name = "Fortmord"
// load = net.minecrell.pluginyml.bukkit.BukkitPluginDescription.PluginLoadOrder.STARTUP
// main = "club.devcord.gamejam.FortMord"
// apiVersion = "1.19"
//}