2
0

saml2-service-provider-opensaml4.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. buildscript {
  2. repositories {
  3. maven { url 'https://repo.spring.io/plugins-release' }
  4. }
  5. dependencies {
  6. classpath 'io.spring.gradle:propdeps-plugin:0.0.10.RELEASE'
  7. }
  8. }
  9. plugins {
  10. id 'java-library'
  11. id 'io.spring.convention.repository'
  12. id 'io.spring.convention.management-configuration'
  13. id 'io.spring.convention.dependency-set'
  14. id 'io.spring.convention.checkstyle'
  15. id 'io.spring.convention.tests-configuration'
  16. id 'io.spring.convention.integration-test'
  17. id 'propdeps'
  18. }
  19. configurations {
  20. classesOnlyElements {
  21. canBeConsumed = true
  22. canBeResolved = false
  23. attributes {
  24. attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 11)
  25. }
  26. }
  27. }
  28. artifacts {
  29. classesOnlyElements(compileJava.destinationDir)
  30. }
  31. sourceCompatibility = '11'
  32. repositories {
  33. maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
  34. }
  35. dependencies {
  36. management platform(project(":spring-security-dependencies"))
  37. constraints {
  38. management("org.opensaml:opensaml-core:4.1.0")
  39. management("org.opensaml:opensaml-saml-api:4.1.0")
  40. management("org.opensaml:opensaml-saml-impl:4.1.0")
  41. }
  42. api project(':saml2-service-provider-core')
  43. api("org.opensaml:opensaml-core")
  44. api("org.opensaml:opensaml-saml-api")
  45. api("org.opensaml:opensaml-saml-impl")
  46. provided 'javax.servlet:javax.servlet-api'
  47. testImplementation 'com.squareup.okhttp3:mockwebserver'
  48. testImplementation project(path : ':saml2-service-provider-core', configuration : 'tests')
  49. }