-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
92 lines (75 loc) · 2.17 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
plugins {
id("java")
id("eclipse")
id("java-library")
id("maven-publish")
id("com.github.johnrengelman.shadow") version "7.1.2"
id("net.nosadnile.gradle.serverhelper") version "1.6.1" apply false
}
group = project.property("maven_group")!!
version = project.property("version")!!
allprojects {
apply(plugin = "java")
apply(plugin = "eclipse")
apply(plugin = "java-library")
apply(plugin = "maven-publish")
apply(plugin = "com.github.johnrengelman.shadow")
repositories {
mavenCentral()
mavenLocal()
maven {
name = "spigotmc-repo"
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
maven {
name = "papermc-repo"
url = uri("https://repo.papermc.io/repository/maven-public/")
}
maven {
name = "purpurmc-repo"
url = uri("https://repo.purpurmc.org/snapshots")
}
maven {
name = "dmulloy2-repo"
url = uri("https://repo.dmulloy2.net/repository/public/")
}
maven {
name = "sonatype"
url = uri("https://oss.sonatype.org/content/groups/public/")
}
maven {
name = "jitpack"
url = uri("https://jitpack.io/")
}
maven {
name = "alessiodp"
url = uri("https://repo.alessiodp.com/releases/")
}
maven {
name = "PlaceholderAPI"
url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
maven {
name = "SimonStators-Repo"
url = uri("https://simonsator.de/repo/")
}
maven {
name = "CodeMC"
url = uri("https://repo.codemc.org/repository/maven-public/")
}
maven {
name = "Citizens"
url = uri("https://maven.citizensnpcs.co/repo")
}
}
}
dependencies {
implementation(project(":flow-purpur"))
implementation(project(":flow-velocity"))
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}
tasks.named("build") {
dependsOn(tasks.shadowJar)
}