forked from benkerllenevich/Purplane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (42 loc) · 1.32 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
import xyz.jpenilla.toothpick.gitCmd
import xyz.jpenilla.toothpick.toothpick
plugins {
`java-library`
`maven-publish`
id("xyz.jpenilla.toothpick") version "1.0.0-SNAPSHOT"
}
toothpick {
forkName = "Purplane"
groupId = "me.notom3ga"
val versionTag = "\"${gitCmd("rev-parse", "--short", "HEAD").output}\""
forkVersion = "git-$forkName-$versionTag"
forkUrl = "https://github.com/notOM3GA/Purplane"
minecraftVersion = "1.16.5"
nmsPackage = "1_16_R3"
nmsRevision = "R0.1-SNAPSHOT"
upstream = "Purpur"
upstreamBranch = "origin/ver/1.16.5"
paperclipName = "purplaneclip"
server {
project = project(":$forkNameLowercase-server")
patchesDir = rootProject.projectDir.resolve("patches/server")
}
api {
project = project(":$forkNameLowercase-api")
patchesDir = rootProject.projectDir.resolve("patches/api")
}
}
subprojects {
repositories {
mavenCentral()
maven("https://repo.aikar.co/content/groups/aikar/")
maven("https://nexus.velocitypowered.com/repository/velocity-artifacts-snapshots/")
maven("https://libraries.minecraft.net")
mavenLocal()
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
}
}