2
0

build.gradle 1004 B

12345678910111213141516171819202122232425262728293031323334353637
  1. buildscript {
  2. dependencies {
  3. classpath 'io.spring.gradle:spring-build-conventions:0.0.23.RELEASE'
  4. classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
  5. classpath 'io.spring.nohttp:nohttp-gradle:0.0.2.RELEASE'
  6. classpath "io.freefair.gradle:aspectj-plugin:4.0.0"
  7. }
  8. repositories {
  9. maven { url 'https://repo.spring.io/plugins-snapshot' }
  10. maven { url 'https://plugins.gradle.org/m2/' }
  11. }
  12. }
  13. apply plugin: 'io.spring.nohttp'
  14. apply plugin: 'io.spring.convention.root'
  15. group = 'org.springframework.security'
  16. description = 'Spring Security'
  17. ext.snapshotBuild = version.contains("SNAPSHOT")
  18. ext.releaseBuild = version.contains("SNAPSHOT")
  19. ext.milestoneBuild = !(snapshotBuild || releaseBuild)
  20. dependencyManagementExport.projects = subprojects.findAll { !it.name.contains('-boot') }
  21. repositories {
  22. mavenCentral()
  23. }
  24. subprojects {
  25. plugins.withType(JavaPlugin) {
  26. project.sourceCompatibility='1.8'
  27. }
  28. tasks.withType(JavaCompile) {
  29. options.encoding = "UTF-8"
  30. }
  31. }