-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
86 lines (69 loc) · 2 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
/*
* This file was generated by the Gradle 'init' task.
*/
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
id 'maven-publish'
id 'java-library'
}
def devBuild = false
group = 'com.playernguyen'
version = ('2.1.3b') + ((devBuild) ? "-devbuild" : "")
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
repositories {
mavenLocal()
maven {
url = uri('https://papermc.io/repo/repository/maven-public/')
}
maven {
url = uri('https://repo.extendedclip.com/content/repositories/placeholderapi/')
}
maven {
url = uri('http://repo.dmulloy2.net/nexus/repository/public/')
}
maven {
url = uri('https://jitpack.io')
}
maven {
url = uri('http://repo.mvdw-software.be/content/groups/public/')
}
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
}
dependencies {
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.comphenix.protocol:ProtocolLib-API:4.4.0'
implementation 'org.jetbrains:annotations:19.0.0'
implementation 'me.clip:placeholderapi:2.10.4'
implementation 'com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT'
implementation 'com.github.brcdev-minecraft:shopgui-api:2.1.1'
implementation files('lib/BossShopPro.jar')
implementation files('lib/MVdWPlaceholderAPI.jar')
compileOnly "com.github.MilkBowl:VaultAPI:1.7"
compile 'com.zaxxer:HikariCP:3.4.5'
compile 'org.slf4j:slf4j-site:2.0.0-alpha1'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
}
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter(ReplaceTokens, tokens: ['VERSION': project.version])
}
}
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}