Skip to content

Commit d8fea47

Browse files
committed
Fixed Gradle configuration
1 parent 88f37fb commit d8fea47

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
# Gradle
2929
.idea/**/gradle.xml
3030
.idea/**/libraries
31+
gradle.properties
3132

3233
# Gradle and Maven with auto-import
3334
# When using Gradle or Maven with auto-import, you should exclude module files,

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ publishing {
1212
name = "repo.mikigal.pl"
1313
url = uri("https://repo.mikigal.pl/releases")
1414
credentials {
15-
username = System.getenv("REPO_USERNAME")
16-
password = System.getenv("REPO_TOKEN")
15+
username = project.findProperty("REPO_USERNAME")
16+
password = project.findProperty("REPO_TOKEN")
1717
}
1818
}
1919
}

0 commit comments

Comments
 (0)