-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
110 lines (89 loc) · 2.5 KB
/
build.gradle
File metadata and controls
110 lines (89 loc) · 2.5 KB
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
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
id 'java-library'
id 'maven-publish'
id 'net.minecrell.plugin-yml.bukkit' version '0.6.0'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
repositories {
mavenLocal()
maven {
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
}
maven {
url = uri('https://hub.jeff-media.com/nexus/repository/jeff-media-public/')
}
maven {
url = uri('https://mvn.lumine.io/repository/maven-public/')
}
maven {
url = uri('https://jitpack.io')
}
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
api 'org.bstats:bstats-bukkit:3.0.0'
api 'com.jeff_media:SpigotUpdateChecker:3.0.2'
library 'com.github.twitch4j:twitch4j:1.16.0'
library 'com.github.philippheuer.events4j:events4j-handler-reactor:0.12.1'
library 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
library 'com.fasterxml.jackson.core:jackson-core:2.15.2'
library 'com.fasterxml.jackson.core:jackson-annotations:2.15.2'
compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT'
compileOnly 'io.lumine:Mythic-Dist:5.2.0'
}
group = 'TwitchViewerControl'
version = '0.0.6'
description = 'TwitchViewerControl'
java.sourceCompatibility = JavaVersion.VERSION_1_8
sourceSets {
main {
java { srcDirs = ["src/main/java"] }
resources { srcDir "src/main/resources" }
}
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}
tasks.withType(Copy).all {
duplicatesStrategy 'exclude'
}
tasks.withType(Jar).all {
duplicatesStrategy 'exclude'
}
bukkit {
name = rootProject.name
version = rootProject.version
description = 'Twitch Viewer can control your Minecraft'
website = 'https://github.com/TrueMB/TwitchViewerControl'
author = 'TrueMB'
main = 'me.truemb.tvc.main.Main'
apiVersion = '1.16'
softDepend = ['MythicMobs']
commands {
twitchviewercontrol {
description = 'Plugin management Command'
aliases = ['tvc']
}
}
}
shadowJar {
relocate 'com.jeff_media.updatechecker', 'me.truemb.tvc.updater'
relocate 'org.bstats', 'me.truemb.tvc.bstats'
}