-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
31 lines (28 loc) · 1.11 KB
/
settings.gradle.kts
File metadata and controls
31 lines (28 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* This file was generated by the Gradle 'init' task.
*
* The settings file is used to specify which projects to include in your build.
* For more detailed information on multi-project builds, please refer to https://docs.gradle.org/8.12.1/userguide/multi_project_builds.html in the Gradle documentation.
*/
pluginManagement {
val artifactoryUsername: String? = System.getenv("ARTIFACTORY_PRIVATE_USERNAME")
?: providers.gradleProperty("artifactoryUsername").orNull
val artifactoryPassword: String? = System.getenv("ARTIFACTORY_PRIVATE_PASSWORD")
?: providers.gradleProperty("artifactoryPassword").orNull
repositories {
maven {
url = uri("https://repox.jfrog.io/repox/sonarsource")
if (artifactoryUsername != null && artifactoryPassword != null) {
credentials {
username = artifactoryUsername
password = artifactoryPassword
}
}
}
gradlePluginPortal()
}
}
rootProject.name = "sonar-rust-plugin"
include("sonar-rust-plugin")
include("analyzer")
include("e2e")