-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
54 lines (42 loc) · 1.14 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
plugins {
`java-library`
`maven-publish`
}
group = "dev.goldenstack.minestom_ca"
version = "1.0"
description = "Implementing vanilla Minecraft with cellular automata"
java {
withJavadocJar()
withSourcesJar()
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
val minestom = "dev.hollowcube:minestom-ce:e146a9393e"
implementation(minestom)
// Parser combinator functions - https://github.com/typemeta/funcj/tree/master/parser
implementation("org.typemeta:funcj-parser:0.6.18")
// https://mvnrepository.com/artifact/org.jocl/jocl
implementation("org.jocl:jocl:2.0.5")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.2")
testImplementation(minestom)
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
configure<JavaPluginExtension> {
withSourcesJar()
}
configure<PublishingExtension> {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
}
}
}