build.gradle 795 B

123456789101112131415161718192021222324252627282930313233
  1. buildscript {
  2. dependencies {
  3. classpath 'io.spring.gradle:spring-build-conventions:0.0.33.RELEASE'
  4. classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
  5. classpath 'io.spring.nohttp:nohttp-gradle:0.0.5.RELEASE'
  6. }
  7. repositories {
  8. maven { url 'https://repo.spring.io/plugins-snapshot' }
  9. maven { url 'https://plugins.gradle.org/m2/' }
  10. }
  11. }
  12. apply plugin: 'io.spring.nohttp'
  13. apply plugin: 'io.spring.convention.root'
  14. group = 'org.springframework.security.experimental'
  15. description = 'Spring Authorization Server'
  16. repositories {
  17. mavenCentral()
  18. }
  19. dependencyManagementExport.projects = subprojects
  20. subprojects {
  21. plugins.withType(JavaPlugin) {
  22. project.sourceCompatibility = '1.8'
  23. }
  24. }
  25. nohttp {
  26. allowlistFile = project.file("etc/nohttp/allowlist.lines")
  27. }