forked from tristiisch/ReallyFakePlayers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (60 loc) · 1.24 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
plugins {
id 'java'
}
group = 'com.firesoftitan.play.titanbox.rfp'
version = '1.11.3'
description = '1.20.1 update of RFP by github.com/JIBSIL'
java.sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://hub.spigotmc.org/nexus/content/repositories/public/'
content {
includeGroup 'org.bukkit'
includeGroup 'org.spigotmc'
includeGroup 'net.md-5'
}
}
maven {
url = 'https://jitpack.io'
content {
includeGroup 'com.github.MilkBowl'
}
}
}
dependencies {
compileOnly 'org.spigotmc:spigot:1.20.1-R0.1-SNAPSHOT'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
}
jar {
archiveFileName = 'TitanBoxRFP.jar'
destinationDirectory = file('build')
manifest {
attributes "Version": project.version
}
}
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
resources {
srcDirs = ['src/main/resources']
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
processResources {
outputs.upToDateWhen { false }
filter org.apache.tools.ant.filters.ReplaceTokens, tokens: [
"plugin_version": version
]
}
task printVersion {
doLast {
println version
}
}