This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
forked from MnMaxon/AutoPickup
/
build.gradle
98 lines (80 loc) · 2.12 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
apply plugin:'java'
apply plugin:"jacoco"
apply plugin: 'maven-publish'
group = 'me.MnMaxon'
version = '5.0.3'
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar
{
eachFile
{
copyDetails ->
if (copyDetails.path == 'plugin.yml')
{
filter
{
line -> line.replace('{{version}}', "$version")
}
}
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
repositories
{
mavenLocal()
mavenCentral()
maven {url('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')}
maven {url('https://oss.sonatype.org/content/repositories/snapshots')}
maven {url('http://maven.drekryan.com:8081/artifactory/libs-release-local')}
maven {url('http://maven.drekryan.com:8081/artifactory/libs-snapshot-local')}
maven {url('http://repo.stealthyone.com/content/groups/public')}
maven {url('https://jitpack.io/')}
maven {url('http://repo.mcstats.org/content/groups/public')}
}
jacocoTestReport
{
reports
{
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport
dependencies
{
compile group:'org.bukkit',
name:'bukkit',
version:'1.11.2-R0.1-SNAPSHOT'
compile group:'org.spigotmc',
name:'spigot-api',
version:'1.11.2-R0.1-SNAPSHOT'
compile group:'com.tealcube.minecraft.bukkit',
name:'mythicdrops',
version:'4.0.1'
compile group:'net.elseland.xikage',
name:'MythicMobs',
version:'2.2.0'
compile group:'com.vk2gpz.tokenenchant',
name:'TokenEnchantAPI',
version:'2.8.0'
compile group:'com.drekryan',
name:'QuickSell',
version:'1.0'
compile group:'com.drekryan',
name:'StackableItems',
version:'1.0'
//testing dependencys
testCompile group:"junit",
name:"junit",
version:"4.12"
testCompile group:"org.mockito",
name:"mockito-core",
version:"2.+"
}