Skip to content

Commit 3ab2eae

Browse files
committed
Added version variable
1 parent 9329004 commit 3ab2eae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ allprojects {
7171
publications {
7272
maven(MavenPublication) {
7373
groupId = "com.noahhusby.lib"
74-
artifactId = "HusbyLib".equalsIgnoreCase(project.name) ? "husbylib" : "husbylib-" + project.name
74+
artifactId = "HusbyLib".equalsIgnoreCase(project.name) ? "all" : project.name
7575
version = project.version
7676

7777
from components.java

common/src/main/java/com/noahhusby/lib/common/util/HusbyUtil.java

+2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@
2929
*/
3030
@UtilityClass
3131
public class HusbyUtil {
32+
public final String VERSION;
3233
public final Gson GSON;
3334

3435
static {
36+
VERSION = HusbyUtil.class.getPackage().getImplementationVersion();
3537
GSON = new GsonBuilder()
3638
.setPrettyPrinting()
3739
.create();

0 commit comments

Comments
 (0)