Skip to content

Commit 82fee5d

Browse files
committed
Help! Me!
1 parent 0b8bc73 commit 82fee5d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Kores-DSL/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'license'
55

66
apply plugin: 'maven-publish'
77

8-
version '4.1.7.base'
8+
version '4.1.8.base'
99

1010
jar {
1111
manifest {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ buildscript {
1919
}
2020

2121
group 'com.github.koresframework'
22-
version '4.1.7.base'
22+
version '4.1.8.base'
2323

2424
apply from: 'gradle/common.gradle'

gradle/common.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ defaultTasks 'licenseFormat', 'build', 'test', 'jar', 'shadowJar'
2222

2323
sourceCompatibility = 16
2424

25-
def GITHUB_USERNAME = project.findProperty("USERNAME") ?: System.getenv("USERNAME")
26-
def GITHUB_PAT = project.findProperty("TOKEN") ?: System.getenv("TOKEN")
25+
def userNameProp = project.findProperty("USERNAME")
26+
def patProp = project.findProperty("TOKEN")
27+
def GITHUB_USERNAME = (userNameProp == null || userNameProp.isEmpty()) ? System.getenv("USERNAME") : userNameProp
28+
def GITHUB_PAT = (patProp == null || patProp.isEmpty()) ? System.getenv("TOKEN") : patProp
2729

2830
repositories {
2931
mavenCentral()

0 commit comments

Comments
 (0)