-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (36 loc) · 1008 Bytes
/
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.2'
}
}
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
group 'au.id.rleach'
version '1.2.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
name = 'sponge'
url = 'http://repo.spongepowered.org/maven'
}
}
configurations { compile { extendsFrom shadow } }
def translator = 'com.memetix:microsoft-translator-java-api:0.6.2'
shadowJar {
dependencies {
include(dependency('com.googlecode.json-simple:json-simple:1.1'))
include(dependency(translator))
}
relocate 'com.memetix' , 'au.id.rleach.shadow.com.memetix'
relocate 'org.json.simple' , 'au.id.rleach.shadow.org.json.simple'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
shadow translator
compile translator
compile 'org.spongepowered:spongeapi:7.0.0-SNAPSHOT'
}