Skip to content

Commit 557d04b

Browse files
committed
fix - gradle issues.
1 parent 888e870 commit 557d04b

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
id 'maven-publish' // for jitpack.io
66
}
77

8-
String group = System.getenv("GROUP") ?: properties["group"]
8+
String group = System.getenv("GROUP") ?: properties["group"] ?: "com.github.server-utilities"
99
String commitHash = "";
1010

1111
if (System.getenv("JITPACK") != "true") {

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ org.gradle.caching = true
77
org.gradle.vfs.watch = false
88

99
# Other properties
10-
name = TheBase
11-
group = com.github.server-utilities
12-
version = 1.0
10+
#name = TheBase
11+
#group = com.github.server-utilities
12+
#version = 1.0

settings.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
String artifact = System.getenv('ARTIFACT') ?: properties['name']
1+
String artifact = System.getenv('ARTIFACT') ?: properties['name'] ?: rootProject.name
22

3-
rootProject.name = artifact
3+
if (System.getenv("JITPACK") != "true") {
4+
rootProject.name = artifact
5+
}

0 commit comments

Comments
 (0)