-
Notifications
You must be signed in to change notification settings - Fork 22
/
build.gradle
53 lines (46 loc) · 1.18 KB
/
build.gradle
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
plugins {
id "java"
id "io.github.goooler.shadow" version "${shadowVer}"
id "org.jetbrains.gradle.plugin.idea-ext" version "1.0.1"
}
dependencies {
implementation project(path: ":spigot", configuration: "shadow")
implementation project(path: ":velocity", configuration: "shadow")
}
tasks {
build {
dependsOn(shadowJar)
}
shadowJar {
archiveClassifier = ""
}
}
allprojects {
group = "com.github.kaspiandev.antipopup"
version = "10.1"
repositories {
mavenCentral()
mavenLocal()
maven {
name = "spigotmc-repo"
url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/groups/public/"
}
maven {
name = "No."
url = "https://repo.viaversion.com"
}
maven {
name = "codemc"
url = "https://repo.codemc.io/repository/maven-releases/"
}
}
}
tasks.register("buildAndMove", Copy) {
from jar
into "/home/kaspian/Documents/Minecraft/SpigotServer/plugins"
dependsOn(tasks.build)
}