Skip to content
Merged
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
rustup target add x86_64-unknown-linux-musl
rustup target add x86_64-unknown-linux-gnu
rustup target add aarch64-unknown-linux-musl
- uses: SonarSource/ci-github-actions/config-gradle@v1
- name: Build Rust analyzers
run: |
./gradlew :analyzer:compileRustLinuxMusl :analyzer:compileRustLinuxArm :analyzer:compileRustWin --info --stacktrace
Expand Down
12 changes: 11 additions & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ dependencyLocking {
}

repositories {
mavenCentral()
val artifactoryUsername = System.getenv("ARTIFACTORY_PRIVATE_USERNAME") ?: project.findProperty("artifactoryUsername")
val artifactoryPassword = System.getenv("ARTIFACTORY_PRIVATE_PASSWORD") ?: project.findProperty("artifactoryPassword")
maven {
url = uri("https://repox.jfrog.io/repox/sonarsource")
if (artifactoryUsername is String && artifactoryPassword is String) {
credentials {
username = artifactoryUsername
password = artifactoryPassword
}
}
}
gradlePluginPortal()
}

Expand Down
12 changes: 11 additions & 1 deletion e2e/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@ dependencies {
}

repositories {
mavenCentral()
val artifactoryUsername = System.getenv("ARTIFACTORY_PRIVATE_USERNAME") ?: project.findProperty("artifactoryUsername")
val artifactoryPassword = System.getenv("ARTIFACTORY_PRIVATE_PASSWORD") ?: project.findProperty("artifactoryPassword")
maven {
url = uri("https://repox.jfrog.io/repox/sonarsource")
if (artifactoryUsername is String && artifactoryPassword is String) {
credentials {
username = artifactoryUsername
password = artifactoryPassword
}
}
}
mavenLocal()
}

Expand Down
Loading
Loading