Skip to content

Commit 6b56a5f

Browse files
authored
Update build.gradle
1 parent 0296187 commit 6b56a5f

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

xpra-common/build.gradle

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,37 @@ java {
1010

1111
repositories {
1212
mavenCentral()
13+
mavenLocal()
14+
// GitHub Packages for dependencies
1315
maven {
1416
url = uri("https://maven.pkg.github.com/GhettiGuru/bee-encode")
1517
credentials {
16-
username = System.getenv("GH_USERNAME") ?: ""
17-
password = System.getenv("GH_TOKEN") ?: ""
18+
username = findProperty("GH_USERNAME") ?: System.getenv("GH_USERNAME") ?: ""
19+
password = findProperty("GH_TOKEN") ?: System.getenv("GH_TOKEN") ?: ""
1820
}
1921
}
2022
maven {
2123
url = uri("https://maven.pkg.github.com/GhettiGuru/rencode4j")
2224
credentials {
23-
username = System.getenv("GH_USERNAME") ?: ""
24-
password = System.getenv("GH_TOKEN") ?: ""
25+
username = findProperty("GH_USERNAME") ?: System.getenv("GH_USERNAME") ?: ""
26+
password = findProperty("GH_TOKEN") ?: System.getenv("GH_TOKEN") ?: ""
2527
}
2628
}
2729
}
2830

29-
3031
dependencies {
32+
// Kotlin
3133
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22"
34+
35+
// GitHub Packages
3236
implementation 'com.github.GhettiGuru:bee-encode:0.3'
3337
implementation 'com.github.GhettiGuru:rencode4j:1.2.0'
38+
39+
// Logging & SSH
3440
api 'org.slf4j:slf4j-api:1.7.25'
3541
api 'com.jcraft:jsch:0.1.52'
42+
43+
// Testing
3644
testImplementation 'junit:junit:4.13.1'
3745
}
3846

0 commit comments

Comments
 (0)