build.gradle 919 B

12345678910111213141516171819202122232425262728293031323334353637
  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: 'locks'
  14. apply plugin: 'io.spring.convention.root'
  15. group = 'org.springframework.security.experimental'
  16. description = 'Spring Authorization Server'
  17. repositories {
  18. mavenCentral()
  19. }
  20. dependencyManagementExport.projects = subprojects.findAll { !it.name.contains('-boot') }
  21. subprojects {
  22. plugins.withType(JavaPlugin) {
  23. project.sourceCompatibility = "1.8"
  24. }
  25. tasks.withType(JavaCompile) {
  26. options.encoding = "UTF-8"
  27. }
  28. }
  29. nohttp {
  30. allowlistFile = project.file("etc/nohttp/allowlist.lines")
  31. }