-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (35 loc) · 1.14 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
import org.apache.tools.ant.filters.ReplaceTokens
plugins {
id 'java'
}
def pluginName = 'UltiVote'
group = 'com.raznar'
version = '1.1-Alpha'
repositories {
mavenLocal()
mavenCentral()
maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url = 'https://oss.sonatype.org/content/groups/public/' }
maven { url = 'https://dl.bintray.com/ichbinjoe/public/' }
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.12'
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
compileOnly "com.vexsoftware:nuvotifier-universal:2.6.0"
compileOnly 'me.clip:placeholderapi:2.10.9'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
options.encoding = 'UTF-8'
}
jar {
archiveFileName = pluginName + "-" + project.version + ".jar"
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}