-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
85 lines (72 loc) · 1.84 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'com.selesse.git.changelog'
group = 'de.germanspacebuild.plugins'
version = '1.0.7'
description = "FastTravelSigns"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
mavenLocal()
maven {
name 'Spigot'
url "https://hub.spigotmc.org/nexus/content/groups/public/"
}
maven {
url "http://repo.mikeprimm.com/"
}
maven {
name 'Vault'
url "http://nexus.hc.to/content/repositories/pub_releases"
}
maven {
name 'EffectLib'
url "http://maven.elmakers.com/repository/"
}
}
shadowJar {
dependencies {
include(dependency('de.slikey:EffectLib:.*'))
}
}
changelog {
title = "${project.name} - Changelog"
outputDirectory = rootDir
}
dependencies {
compile group: 'de.slikey', name: 'EffectLib', version: '5.4'
compile group: 'org.spigotmc', name: 'spigot-api', version: '1.12.2-R0.1-SNAPSHOT'
compile group: 'net.milkbowl.vault', name: 'VaultAPI', version: '1.6'
compile group: 'org.dynmap', name: 'dynmap-api', version: '2.0'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from('src/main/resources') {
filter ReplaceTokens, tokens: [version: version]
}
from('.travis.yml') {
filter ReplaceTokens, tokens: [version: version]
}
}
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
classpath 'gradle.plugin.com.selesse:gradle-git-changelog:0.4.0-SNAPSHOT'
}
}