-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
52 lines (48 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
plugins {
`java-library`
`maven-publish`
id("java")
id("com.github.johnrengelman.shadow") version "8.+"
id("io.papermc.paperweight.userdev") version "1.+"
id("xyz.jpenilla.run-paper") version "2.+"
id("io.freefair.lombok") version "8.+"
}
repositories {
mavenCentral()
google()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://oss.sonatype.org/content/groups/public/")
maven("https://repo.unnamed.team/repository/unnamed-public/")
}
dependencies {
paperweight.paperDevBundle("1.20.4-R0.1-SNAPSHOT")
api("commons-io:commons-io:2.+")
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
implementation("com.fasterxml.jackson.core:jackson-databind:2.+")
implementation("dev.langchain4j:langchain4j-open-ai:0.25.0")
implementation("dev.langchain4j:langchain4j:0.25.0")
}
group = "io.github"
version = "1.0-SNAPSHOT"
description = "CraftGPT"
java.sourceCompatibility = JavaVersion.VERSION_17
tasks {
assemble {
dependsOn(reobfJar)
dependsOn(shadowJar)
}
runServer {
dependsOn(assemble)
minecraftVersion("1.20.4")
}
processResources {
filteringCharset = Charsets.UTF_8.name()
val props = mapOf(
"version" to project.version
)
inputs.properties(props)
filesMatching("plugin.yml") {
expand(props)
}
}
}