-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
43 lines (36 loc) · 1009 Bytes
/
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
plugins {
id("java-library")
id("net.flintmc.flint-gradle")
}
repositories {
mavenCentral()
maven {
setUrl("https://dist.labymod.net/api/v1/maven/release")
name = "Flint"
}
}
group = "your.group"
version = "1.0.0"
flint {
// Enter the newest Flint version here
flintVersion = "2.0.41"
minecraftVersions("1.15.2", "1.16.5")
authors = arrayOf("Your Name")
runs {
overrideMainClass("net.flintmc.launcher.FlintLauncher")
}
}
dependencies {
annotationProcessor(flintApi("annotation-processing-autoload"))
internalAnnotationProcessor(flintApi("annotation-processing-autoload"))
api(flintApi("framework-eventbus"))
api(flintApi("framework-inject"))
api(flintApi("mcapi"))
api(flintApi("util-task-executor"))
minecraft("1.15.2") {
annotationProcessor(flintApi("annotation-processing-autoload"))
}
minecraft("1.16.5") {
annotationProcessor(flintApi("annotation-processing-autoload"))
}
}