-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
35 lines (26 loc) · 863 Bytes
/
build.gradle
File metadata and controls
35 lines (26 loc) · 863 Bytes
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
import org.apache.tools.ant.filters.ReplaceTokens
apply plugin: 'java'
version = pluginVersion
sourceCompatibility = 1.8
targetCompatibility = 1.8
defaultTasks 'clean', 'build'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
repositories {
mavenCentral()
maven { url 'https://bkm016.github.io/TabooLib/repo/' }
maven { url 'https://hub.spigotmc.org/nexus/content/groups/public/' }
maven { url 'https://jitpack.io' }
maven { url 'http://repo.extendedclip.com/content/repositories/placeholderapi/' }
}
dependencies {
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.5.0'
compile 'org.ow2.asm:asm-commons:6.2'
compile fileTree(dir:'libs',includes:['*jar'])
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}