File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
import org.apache.tools.ant.filters.ReplaceTokens
2
+ import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
2
3
3
4
plugins {
4
5
id ' java'
5
6
id ' com.github.johnrengelman.shadow' version ' 4.0.4'
6
7
}
7
8
8
9
group = ' top.jingwenmc'
9
- version = ' 1.1.1 -RELEASE'
10
+ version = ' 1.1.2 -RELEASE'
10
11
11
12
sourceCompatibility = ' 1.8'
12
13
targetCompatibility = ' 1.8'
@@ -47,10 +48,10 @@ tasks.withType(JavaCompile) {
47
48
options. encoding = ' UTF-8'
48
49
}
49
50
50
- shadowJar {
51
- relocate ( ' org ' , ' top.jingwenmc.mqeasy.lib.org ' ) {
52
- exclude ' org.bukkit** '
53
- }
54
- relocate ' javax ' , ' top.jingwenmc.mqeasy.lib.javax '
55
- relocate ' com ' , ' top.jingwenmc.mqeasy.lib.com '
56
- }
51
+ task relocateShadowJar ( type : ConfigureShadowRelocation ) {
52
+ target = tasks . shadowJar
53
+ prefix = " top.jingwenmc.mqeasy.lib "
54
+
55
+ }
56
+
57
+ tasks . shadowJar . dependsOn tasks . relocateShadowJar
You can’t perform that action at this time.
0 commit comments