buildscript { repositories { maven { url 'https://repo.spring.io/plugins-release' } } dependencies { classpath 'io.spring.gradle:propdeps-plugin:0.0.10.RELEASE' } } plugins { id 'java' id 'java-library' id 'io.spring.convention.repository' id 'io.spring.convention.management-configuration' id 'io.spring.convention.dependency-set' id 'io.spring.convention.checkstyle' id 'io.spring.convention.tests-configuration' id 'io.spring.convention.integration-test' id 'propdeps' } configurations { classesOnlyElements { canBeConsumed = true canBeResolved = false attributes { attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 11) } } sourceElements { canBeConsumed = true canBeResolved = false } javadocElements { canBeConsumed = true canBeResolved = false } } artifacts { classesOnlyElements(compileJava.destinationDir) sourceSets.main.allSource.srcDirs.forEach({ dir -> sourceElements(dir) }) javadocElements(javadoc.destinationDir) } sourceCompatibility = '11' repositories { maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" } } dependencies { management platform(project(":spring-security-dependencies")) constraints { management("org.opensaml:opensaml-core:4.1.0") management("org.opensaml:opensaml-saml-api:4.1.0") management("org.opensaml:opensaml-saml-impl:4.1.0") } api project(':saml2-service-provider-core') api("org.opensaml:opensaml-core") api("org.opensaml:opensaml-saml-api") api("org.opensaml:opensaml-saml-impl") provided 'javax.servlet:javax.servlet-api' testImplementation 'com.squareup.okhttp3:mockwebserver' testImplementation project(path : ':saml2-service-provider-core', configuration : 'tests') }