-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (35 loc) · 943 Bytes
/
build.gradle
File metadata and controls
41 lines (35 loc) · 943 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
35
36
37
38
39
40
41
plugins {
id "com.github.johnrengelman.shadow" version "4.0.2"
id "org.spongepowered.plugin" version "0.8.1"
id "maven"
id "java"
}
group "me.dags"
version "0.0.4"
def spongeAPI = "7.2.0"
def spongeChannel = "SNAPSHOT"
sponge {
plugin.id = "stopmotion"
plugin.meta {
name = "StopMotion"
version = rootProject.version
description = "A stop-motion animation plugin"
}
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
compile "org.spongepowered:spongeapi:${spongeAPI}-${spongeChannel}"
shadow "com.github.dags-:Pitaya:0.0.16"
}
shadowJar {
minimize()
configurations = [project.configurations.shadow]
relocate "me.dags.pitaya.", "${project.group}.${sponge.plugin.id}.libs.pitaya."
archivesBaseName = "${sponge.plugin.meta.name}-${spongeAPI}"
classifier = null
}
build.dependsOn(shadowJar)
install.dependsOn(shadowJar)