-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
67 lines (58 loc) · 1.84 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
55
56
57
58
59
60
61
62
63
64
65
66
67
plugins {
kotlin("jvm") version "2.1.0"
idea
id("io.papermc.paperweight.userdev") version "1.7.7"
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.9"
id("com.gradleup.shadow") version "9.0.0-beta4"
}
val prefix = name.uppercase()
rootProject.extra["prefix"] = prefix
rootProject.extra["configVersion"] = "0.0.1"
allprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "idea")
apply(plugin = "org.jetbrains.gradle.plugin.idea-ext")
apply(plugin = "com.gradleup.shadow")
apply(plugin = "io.papermc.paperweight.userdev")
rootProject.extra["prefix"]
description = "A ScreenShare plugin for modern Minecraft."
group = "io.github.runkang10.openss"
version = "1.0.0"
rootProject.extra["configVersion"]
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://repo.papermc.io/repository/maven-public/") {
name = "papermc-repo"
}
maven("https://oss.sonatype.org/content/groups/public/") {
name = "sonatype"
}
maven("https://jitpack.io")
}
dependencies {
paperweight.paperDevBundle("1.21.4-R0.1-SNAPSHOT")
implementation("com.github.NEZNAMY", "TAB-API", "5.0.3")
compileOnly("com.github.NEZNAMY", "TAB-API", "5.0.3")
implementation("com.github.DevLeoko.AdvancedBan:AdvancedBan:v2.3.0")
compileOnly("com.github.DevLeoko.AdvancedBan:AdvancedBan:v2.3.0")
implementation("net.luckperms:api:5.4")
compileOnly("net.luckperms:api:5.4")
implementation(kotlin("stdlib-jdk8"))
}
tasks {
assemble {
dependsOn(reobfJar)
}
build {
dependsOn(assemble)
dependsOn(shadowJar)
}
jar {
enabled = false
}
}
kotlin {
jvmToolchain(21)
}
}