-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (37 loc) · 1009 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
plugins {
id 'org.spongepowered.plugin' version '0.8.1'
id 'java'
id 'com.github.johnrengelman.shadow' version '4.0.4'
}
configurations {
group = pluginGroup
version = pluginVersion
def ci = System.getenv("APPVEYOR_REPO_COMMIT")
if (ci) version += "-ci-${ci.substring(0, 8)}"
sourceCompatibility = targetCompatibility = '1.8'
sponge.plugin.id = pluginId
defaultTasks 'clean', 'build', 'shadowJar'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}
repositories {
mavenCentral()
maven {
name = 'jitpack'
url = 'https://jitpack.io'
}
}
dependencies {
compile('com.github.IzzelAliz:AmberCommon:master-SNAPSHOT') {
exclude group: 'org.spongepowered'
}
compile 'org.spongepowered:spongeapi:7.2.0-SNAPSHOT'
compile group: 'org.projectlombok', name: 'lombok', version: '1.18.10'
}
shadowJar {
minimize()
dependencies {
it.include it.dependency('com.github.IzzelAliz:.*')
}
}