From 33138932bfe29357ce8e7d8ec0c948a1bf999945 Mon Sep 17 00:00:00 2001 From: Matteo Mara Date: Wed, 9 Nov 2022 10:36:50 +0100 Subject: [PATCH] [NO JIRA] Move onelogin java-saml version management to the main build.gradle file --- build.gradle | 1 + server/sonar-auth-saml/build.gradle | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 14a5a4f3e9a..ced26bf2794 100644 --- a/build.gradle +++ b/build.gradle @@ -255,6 +255,7 @@ subprojects { dependency('com.microsoft.sqlserver:mssql-jdbc:11.2.1.jre11') { exclude 'com.fasterxml.jackson.core:jackson-databind' } + dependency 'com.onelogin:java-saml:2.9.0' dependency 'com.oracle.database.jdbc:ojdbc8:21.7.0.0' dependency 'org.aspectj:aspectjtools:1.9.9.1' dependencySet(group: 'com.squareup.okhttp3', version: '4.10.0') { diff --git a/server/sonar-auth-saml/build.gradle b/server/sonar-auth-saml/build.gradle index aa56181727e..41c345f121f 100644 --- a/server/sonar-auth-saml/build.gradle +++ b/server/sonar-auth-saml/build.gradle @@ -4,15 +4,10 @@ configurations { testImplementation.extendsFrom compileOnly } -ext { - oneLoginVersion = '2.9.0' -} - dependencies { // please keep the list ordered - compile "com.onelogin:java-saml:${oneLoginVersion}" - compile "com.onelogin:java-saml-core:${oneLoginVersion}" + compile "com.onelogin:java-saml" compileOnly 'com.google.code.findbugs:jsr305' compileOnly 'com.squareup.okhttp3:okhttp' -- 2.39.5