saml2-service-provider-opensaml3.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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'
  11. id 'java-library'
  12. id 'io.spring.convention.repository'
  13. id 'io.spring.convention.management-configuration'
  14. id 'io.spring.convention.dependency-set'
  15. id 'io.spring.convention.checkstyle'
  16. id 'io.spring.convention.tests-configuration'
  17. id 'io.spring.convention.integration-test'
  18. id 'propdeps'
  19. }
  20. configurations {
  21. classesOnlyElements {
  22. canBeConsumed = true
  23. canBeResolved = false
  24. }
  25. sourceElements {
  26. canBeConsumed = true
  27. canBeResolved = false
  28. }
  29. javadocElements {
  30. canBeConsumed = true
  31. canBeResolved = false
  32. }
  33. }
  34. artifacts {
  35. classesOnlyElements(compileJava.destinationDir)
  36. sourceSets.main.allSource.srcDirs.forEach({ dir ->
  37. sourceElements(dir)
  38. })
  39. javadocElements(javadoc.destinationDir)
  40. }
  41. repositories {
  42. maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
  43. }
  44. dependencies {
  45. management platform(project(":spring-security-dependencies"))
  46. api project(':saml2-service-provider-core')
  47. api("org.opensaml:opensaml-core")
  48. api("org.opensaml:opensaml-saml-api")
  49. api("org.opensaml:opensaml-saml-impl")
  50. provided 'javax.servlet:javax.servlet-api'
  51. testImplementation 'com.squareup.okhttp3:mockwebserver'
  52. testImplementation project(path : ':saml2-service-provider-core', configuration : 'tests')
  53. }