2019-12-13 15:52:42 -05:00
|
|
|
if (!project.hasProperty("reactorVersion")) {
|
2019-12-18 15:31:52 -05:00
|
|
|
ext.reactorVersion = "Dysprosium-SR+"
|
2018-03-16 15:19:04 -04:00
|
|
|
}
|
|
|
|
|
2019-12-13 15:52:42 -05:00
|
|
|
if (!project.hasProperty("springVersion")) {
|
2020-08-11 07:25:30 -04:00
|
|
|
ext.springVersion = "5.2.+"
|
2018-03-16 15:19:04 -04:00
|
|
|
}
|
|
|
|
|
2019-12-13 15:52:42 -05:00
|
|
|
if (!project.hasProperty("springDataVersion")) {
|
2020-09-09 12:11:35 -04:00
|
|
|
ext.springDataVersion = "Neumann-SR+"
|
2018-03-16 15:19:04 -04:00
|
|
|
}
|
2020-01-07 12:08:43 -05:00
|
|
|
if (!project.hasProperty("kotlinVersion")) {
|
2020-10-07 17:27:21 -04:00
|
|
|
ext.kotlinVersion = "1.4.+"
|
2020-01-07 12:08:43 -05:00
|
|
|
}
|
2020-07-14 12:37:43 -04:00
|
|
|
if (!project.hasProperty("rsocketVersion")) {
|
2020-09-09 12:03:42 -04:00
|
|
|
ext.rsocketVersion = "1.0.+"
|
2020-07-14 12:37:43 -04:00
|
|
|
}
|
2020-01-08 15:11:00 -05:00
|
|
|
if (!project.hasProperty("locksDisabled")) {
|
|
|
|
dependencyLocking {
|
|
|
|
lockAllConfigurations()
|
|
|
|
}
|
|
|
|
}
|
2020-10-07 17:27:21 -04:00
|
|
|
ext.openSamlVersion = "3.4.+"
|
2021-02-03 15:03:29 -05:00
|
|
|
ext.nimbusJoseJwtVersion = '8.+'
|
2018-03-16 15:19:04 -04:00
|
|
|
|
2019-12-13 15:52:42 -05:00
|
|
|
dependencies {
|
|
|
|
management platform("org.springframework:spring-framework-bom:$springVersion")
|
|
|
|
management platform("io.projectreactor:reactor-bom:$reactorVersion")
|
|
|
|
management platform("org.springframework.data:spring-data-releasetrain:$springDataVersion")
|
2020-01-07 12:08:43 -05:00
|
|
|
management platform("org.jetbrains.kotlin:kotlin-bom:$kotlinVersion")
|
2019-12-13 15:52:42 -05:00
|
|
|
constraints {
|
2020-10-07 17:27:21 -04:00
|
|
|
management "ch.qos.logback:logback-classic:1.2.+"
|
|
|
|
management "com.fasterxml.jackson.core:jackson-databind:2.11.+"
|
|
|
|
management 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.+'
|
2019-12-13 15:52:42 -05:00
|
|
|
management "com.google.appengine:appengine-api-1.0-sdk:$gaeVersion"
|
|
|
|
management "com.google.appengine:appengine-api-labs:$gaeVersion"
|
|
|
|
management "com.google.appengine:appengine-api-stubs:$gaeVersion"
|
|
|
|
management "com.google.appengine:appengine-testing:$gaeVersion"
|
|
|
|
management "com.google.appengine:appengine:$gaeVersion"
|
|
|
|
management "com.google.inject:guice:3.0"
|
2021-02-12 05:56:35 -05:00
|
|
|
management "com.nimbusds:nimbus-jose-jwt:$nimbusJoseJwtVersion"
|
|
|
|
management "com.nimbusds:oauth2-oidc-sdk:8.+"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "com.squareup.okhttp3:mockwebserver:3.14.+"
|
|
|
|
management "com.squareup.okhttp3:okhttp:3.14.+"
|
|
|
|
management "com.sun.xml.bind:jaxb-core:2.3.+"
|
|
|
|
management "com.sun.xml.bind:jaxb-impl:2.3.+"
|
|
|
|
management "com.unboundid:unboundid-ldapsdk:4.0.+"
|
2020-07-15 21:05:41 -04:00
|
|
|
management "commons-codec:commons-codec:1.14"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "commons-collections:commons-collections:3.2.+"
|
|
|
|
management "commons-httpclient:commons-httpclient:3.1.+"
|
2020-07-15 21:05:41 -04:00
|
|
|
management "commons-logging:commons-logging:1.2"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "io.projectreactor.tools:blockhound:1.0.+"
|
2019-12-13 15:52:42 -05:00
|
|
|
management "io.rsocket:rsocket-core:${rsocketVersion}"
|
|
|
|
management "io.rsocket:rsocket-transport-netty:${rsocketVersion}"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "javax.annotation:jsr250-api:1.0"
|
|
|
|
management "javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:1.2.+"
|
|
|
|
management "javax.servlet.jsp:javax.servlet.jsp-api:2.3.+"
|
|
|
|
management "javax.servlet:javax.servlet-api:4.0.+"
|
|
|
|
management "javax.validation:validation-api:2.0.+"
|
|
|
|
management "javax.xml.bind:jaxb-api:2.3.+"
|
2019-12-13 15:52:42 -05:00
|
|
|
management "junit:junit:4.12"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "ldapsdk:ldapsdk:4.1"
|
|
|
|
management "net.sf.ehcache:ehcache:2.10.+"
|
2020-02-03 14:18:02 -05:00
|
|
|
management "net.sourceforge.htmlunit:htmlunit:2.37.0"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "net.sourceforge.nekohtml:nekohtml:1.9.+"
|
|
|
|
management "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:2.5.+"
|
|
|
|
management "opensymphony:sitemesh:2.4.+"
|
2019-12-13 15:52:42 -05:00
|
|
|
management "org.apache.directory.server:apacheds-core-entry:1.5.5"
|
|
|
|
management "org.apache.directory.server:apacheds-core:1.5.5"
|
|
|
|
management "org.apache.directory.server:apacheds-protocol-ldap:1.5.5"
|
|
|
|
management "org.apache.directory.server:apacheds-protocol-shared:1.5.5"
|
|
|
|
management "org.apache.directory.server:apacheds-server-jndi:1.5.5"
|
|
|
|
management "org.apache.directory.shared:shared-ldap:0.9.15"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "org.apache.httpcomponents:httpclient:4.5.+"
|
|
|
|
management "org.apache.taglibs:taglibs-standard-jstlel:1.2.+"
|
2019-12-13 15:52:42 -05:00
|
|
|
management "org.aspectj:aspectjrt:$aspectjVersion"
|
|
|
|
management "org.aspectj:aspectjtools:$aspectjVersion"
|
|
|
|
management "org.aspectj:aspectjweaver:$aspectjVersion"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "org.assertj:assertj-core:3.17.+"
|
|
|
|
management "org.bouncycastle:bcpkix-jdk15on:1.66"
|
|
|
|
management "org.bouncycastle:bcprov-jdk15on:1.66"
|
|
|
|
management "org.eclipse.jetty:jetty-server:9.4.+"
|
|
|
|
management "org.eclipse.jetty:jetty-servlet:9.4.+"
|
|
|
|
management "org.eclipse.persistence:javax.persistence:2.2.+"
|
|
|
|
management "org.hibernate:hibernate-entitymanager:5.4.+"
|
|
|
|
management "org.hibernate:hibernate-validator:6.1.+"
|
|
|
|
management "org.hsqldb:hsqldb:2.5.+"
|
|
|
|
management "org.jasig.cas.client:cas-client-core:3.6.+"
|
2020-01-30 13:24:16 -05:00
|
|
|
management "org.jasig.cas:cas-server-webapp:4.0.7@war"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "org.mockito:mockito-core:3.5.+"
|
|
|
|
management "org.openid4java:openid4java-nodeps:0.9.+"
|
2019-12-18 15:31:52 -05:00
|
|
|
management "org.opensaml:opensaml-core:$openSamlVersion"
|
|
|
|
management "org.opensaml:opensaml-saml-api:$openSamlVersion"
|
|
|
|
management "org.opensaml:opensaml-saml-impl:$openSamlVersion"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "org.powermock:powermock-api-mockito2:2.0.+"
|
|
|
|
management "org.powermock:powermock-api-support:2.0.+"
|
|
|
|
management "org.powermock:powermock-core:2.0.+"
|
|
|
|
management "org.powermock:powermock-module-junit4-common:2.0.+"
|
|
|
|
management "org.powermock:powermock-module-junit4:2.0.+"
|
|
|
|
management "org.powermock:powermock-reflect:2.0.+"
|
2019-12-18 15:31:52 -05:00
|
|
|
management "org.python:jython:2.5.+"
|
2020-02-03 14:18:02 -05:00
|
|
|
management "org.seleniumhq.selenium:htmlunit-driver:2.37.0"
|
2020-10-07 17:27:21 -04:00
|
|
|
management "org.seleniumhq.selenium:selenium-java:3.141.+"
|
|
|
|
management "org.seleniumhq.selenium:selenium-support:3.141.+"
|
|
|
|
management "org.skyscreamer:jsonassert:1.5.+"
|
|
|
|
management "org.slf4j:jcl-over-slf4j:1.7.+"
|
|
|
|
management "org.slf4j:log4j-over-slf4j:1.7.+"
|
|
|
|
management "org.slf4j:slf4j-api:1.7.+"
|
|
|
|
management "org.springframework.ldap:spring-ldap-core:2.3.+"
|
|
|
|
management "org.synchronoss.cloud:nio-multipart-parser:1.1.+"
|
|
|
|
management "org.thymeleaf:thymeleaf-spring5:3.0.+"
|
2019-12-18 15:31:52 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
all {
|
|
|
|
resolutionStrategy {
|
|
|
|
componentSelection {
|
|
|
|
all { ComponentSelection selection ->
|
|
|
|
def candidate = selection.getCandidate()
|
|
|
|
def version = candidate.getVersion().toLowerCase()
|
|
|
|
|
|
|
|
if (version.contains("alpha") || version.contains("beta")) {
|
|
|
|
selection.reject("Rejecting $selection with version $version as alpha/beta")
|
|
|
|
}
|
|
|
|
|
|
|
|
if (candidate.getModule().equals("jsr250-api") && version.equals("1.0-20050927.133100")) {
|
|
|
|
selection.reject("Rejecting $selection with version $version as invalid version")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-07-20 23:27:27 -04:00
|
|
|
}
|
|
|
|
}
|
2020-08-05 11:46:14 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
NOTE:
|
|
|
|
The latest `reactor-netty` dependency was split into `reactor-netty-core` and `reactor-netty-http`,
|
|
|
|
which resulted in the snapshot build to fail. The below configuration fixes it.
|
|
|
|
|
|
|
|
Reference:
|
|
|
|
- https://github.com/spring-projects/spring-security/issues/8909
|
|
|
|
- https://github.com/reactor/reactor-netty/issues/739#issuecomment-667047117
|
|
|
|
*/
|
|
|
|
if (reactorVersion.startsWith('20')) {
|
|
|
|
if (reactorVersion.endsWith('SNAPSHOT') || reactorVersion.endsWith('+')) {
|
|
|
|
ext.reactorLatestVersion = "latest.integration"
|
|
|
|
} else {
|
|
|
|
ext.reactorLatestVersion = "latest.release"
|
|
|
|
}
|
|
|
|
configurations {
|
|
|
|
all {
|
|
|
|
resolutionStrategy {
|
|
|
|
eachDependency { DependencyResolveDetails details ->
|
|
|
|
if (details.requested.name == 'reactor-netty') {
|
|
|
|
details.useTarget("${details.requested.group}:reactor-netty-http:${reactorLatestVersion}")
|
|
|
|
details.because("reactor-netty is now split into reactor-netty-core and reactor-netty-http")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|