File tree Expand file tree Collapse file tree 3 files changed +4
-21
lines changed Expand file tree Collapse file tree 3 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ gradle_its_template: &GRADLE_ITS_TEMPLATE
85
85
- ./gradlew "${GRADLE_TASK}" "-P${ITS_PROJECT}"
86
86
" -Dsonar.runtimeVersion=${SQ_VERSION}"
87
87
" -DbuildNumber=$BUILD_NUMBER"
88
- -Pqa - -info --console plain --no-daemon --build-cache
88
+ --info --console plain --no-daemon --build-cache
89
89
<< : *CLEANUP_GRADLE_CACHE_SCRIPT
90
90
91
91
only_if_sonarsource_qa_template : &ONLY_IF_SONARSOURCE_QA
@@ -206,15 +206,15 @@ qa_ruling_kotlin_compiler_task:
206
206
- ./gradlew :its:ruling:test --tests "org.sonarsource.slang.SlangRulingTest.test_kotlin_compiler" -Pruling
207
207
" -Dsonar.runtimeVersion=${SQ_VERSION}"
208
208
" -DbuildNumber=$BUILD_NUMBER"
209
- -Pqa - -info --console plain --no-daemon --build-cache
209
+ --info --console plain --no-daemon --build-cache
210
210
<< : *CLEANUP_GRADLE_CACHE_SCRIPT
211
211
212
212
build_win_task :
213
213
<< : *QA_TASK_FILTER
214
214
<< : *WINDOWS_16_CPU_32G
215
215
<< : *SETUP_GRADLE_CACHE
216
216
build_script :
217
- - ./gradlew build -Pqa - -info --console plain --no-daemon --build-cache
217
+ - ./gradlew build --info --console plain --no-daemon --build-cache
218
218
on_failure :
219
219
error_log_artifacts :
220
220
path : " hs_err_pid*.log"
Original file line number Diff line number Diff line change @@ -86,23 +86,7 @@ allprojects {
86
86
}
87
87
88
88
repositories {
89
- mavenLocal()
90
- val repository = if (project.hasProperty(" qa" )) " sonarsource-qa" else " sonarsource"
91
- maven {
92
- url = uri(" https://repox.jfrog.io/repox/${repository} " )
93
-
94
- // The environment variables ARTIFACTORY_PRIVATE_USERNAME and ARTIFACTORY_PRIVATE_PASSWORD are used in QA
95
- // On local box, please add artifactoryUsername and artifactoryPassword to ~/.gradle/gradle.properties
96
- val artifactoryUsername = System .getenv(" ARTIFACTORY_PRIVATE_USERNAME" ) ? : project.findProperty(" artifactoryUsername" ) ? : " "
97
- val artifactoryPassword = System .getenv(" ARTIFACTORY_PRIVATE_PASSWORD" ) ? : project.findProperty(" artifactoryPassword" ) ? : " "
98
-
99
- if (artifactoryUsername is String && artifactoryUsername.isNotEmpty() && artifactoryPassword is String && artifactoryPassword.isNotEmpty()) {
100
- credentials {
101
- username = artifactoryUsername
102
- password = artifactoryPassword
103
- }
104
- }
105
- }
89
+ mavenCentral()
106
90
}
107
91
}
108
92
Original file line number Diff line number Diff line change 1
1
pluginManagement {
2
2
repositories {
3
- maven(url = " https://repox.jfrog.io/repox/plugins.gradle.org/" )
4
3
gradlePluginPortal()
5
4
}
6
5
You can’t perform that action at this time.
0 commit comments