-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
49 lines (41 loc) · 1.11 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
plugins {
java
kotlin("jvm") version "2.0.0"
id("com.gradleup.shadow") version "8.3.0"
id("org.jetbrains.dokka") version "1.9.20"
`maven-publish`
}
group = "net.projecttl"
version = "4.6.1"
allprojects {
apply(plugin = "com.gradleup.shadow")
apply(plugin = "org.jetbrains.dokka")
apply(plugin = "org.jetbrains.kotlin.jvm")
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
repositories {
mavenCentral()
}
}
subprojects {
group = rootProject.group
version = rootProject.version
repositories {
maven("https://papermc.io/repo/repository/maven-public/")
maven(url = "https://oss.sonatype.org/content/repositories/snapshots/") {
name = "sonatype-oss-snapshots"
}
}
dependencies {
implementation(kotlin("stdlib"))
compileOnly("io.papermc.paper:paper-api:1.21.3-R0.1-SNAPSHOT")
if ([email protected] != "InventoryGUI-api") {
dependencies {
implementation(project(":InventoryGUI-api"))
}
}
}
}