forked from Ordwen/ODailyQuests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
125 lines (109 loc) · 3.32 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
plugins {
id 'java'
}
group = 'com.ordwen'
version = '2.2.4-SNAPSHOT-11'
repositories {
mavenCentral()
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 {
url = 'https://repo.rosewooddev.io/repository/public/'
}
maven {
name = 'jitpack-repo'
url = 'https://jitpack.io'
}
maven {
name = 'everything'
url = 'https://repo.citizensnpcs.co/'
}
maven {
name = ' Lumine Releases'
url = 'https://mvn.lumine.io/repository/maven-public/'
}
maven {
name = 'minecraft-repo'
url = 'https://libraries.minecraft.net/'
}
maven {
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
maven {
url = "https://repo.codemc.io/repository/maven-public/"
}
maven {
name = 'bg-repo'
url = 'https://repo.bg-software.com/repository/api/'
}
maven {
url = 'https://repo.rosewooddev.io/repository/public/'
}
maven {
name = "phoenix"
url = "https://nexus.phoenixdevt.fr/repository/maven-public/"
}
flatDir {
dirs 'libs'
}
}
dependencies {
//implementation "net.kyori:adventure-text-minimessage:4.14.0"
//implementation "net.kyori:adventure-platform-bukkit:4.3.0"
/* database management */
compileOnly 'com.zaxxer:HikariCP:5.0.1'
compileOnly 'com.h2database:h2:2.1.214'
/* spigot */
compileOnly 'org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT'
/* economy & points */
compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
compileOnly 'org.black_ixx:playerpoints:3.2.2'
compileOnly name: 'CoinsEngine-2.0.5'
compileOnly ('com.github.Realizedd:TokenManager:3.2.4') { transitive = false }
/* npcs */
compileOnly 'net.citizensnpcs:citizens-main:2.0.29-SNAPSHOT'
/* mobs */
compileOnly 'io.lumine:Mythic-Dist:5.0.3-SNAPSHOT'
compileOnly name: 'EliteMobs'
/* stackers */
compileOnly 'dev.rosewood:rosestacker:1.4.13'
compileOnly 'com.bgsoftware:WildStackerAPI:3.8.0'
/* guis */
compileOnly 'me.clip:placeholderapi:2.10.0'
compileOnly 'com.gmail.filoghost.holographicdisplays:holographicdisplays-api:2.4.9'
/* custom items */
compileOnly 'com.github.oraxen:oraxen:1.157.0'
compileOnly 'com.github.LoneDev6:API-ItemsAdder:3.5.0b'
compileOnly 'net.Indyuce:MMOItems-API:6.9.2-SNAPSHOT'
compileOnly 'io.lumine:MythicLib-dist:1.5.2-SNAPSHOT'
/* Mojang auth API for heads */
compileOnly 'com.mojang:authlib:1.5.21'
}
def targetJavaVersion = 16
java {
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
if (JavaVersion.current() < javaVersion) {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
}
}
tasks.withType(JavaCompile).configureEach {
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
options.release = targetJavaVersion
}
}
processResources {
def props = [version: version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
expand props
}
}