File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ plugins {
22
22
id ' maven-publish'
23
23
id ' signing'
24
24
id " me.champeau.jmh" version " 0.7.2"
25
+ id " com.github.johnrengelman.shadow" version " 8.1.1"
25
26
}
26
27
27
28
repositories {
@@ -36,7 +37,7 @@ dependencies {
36
37
}
37
38
38
39
group = ' me.sunlan'
39
- version = ' 1.0.1 '
40
+ version = ' 1.0.2 '
40
41
41
42
sourceCompatibility = JavaVersion . VERSION_1_8
42
43
targetCompatibility = JavaVersion . VERSION_1_8
@@ -74,11 +75,23 @@ jar {
74
75
}
75
76
}
76
77
78
+ tasks. named(' shadowJar' , com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar ) {
79
+ enableRelocation = true
80
+ relocationPrefix = " me.sunlan.fastreflection.shaded"
81
+ }
82
+
77
83
publishing {
78
84
publications {
79
85
mavenJava(MavenPublication ) {
80
86
artifactId = ' fast-reflection'
81
- from components. java
87
+ artifact shadowJar. archiveFile
88
+ artifact javadocJar
89
+ artifact sourcesJar
90
+ signing {
91
+ sign shadowJar
92
+ sign javadocJar
93
+ sign sourcesJar
94
+ }
82
95
pom {
83
96
name = ' Fast Reflection'
84
97
description = ' Yet another extremely fast alternative for Java reflection'
You can’t perform that action at this time.
0 commit comments