2020-04-24 02:37:17 +07:00
|
|
|
buildscript {
|
|
|
|
dependencies {
|
2020-07-23 20:15:56 +07:00
|
|
|
classpath 'io.spring.gradle:spring-build-conventions:0.0.33.RELEASE'
|
2020-08-18 21:51:25 +07:00
|
|
|
classpath "org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion"
|
2020-08-18 22:00:47 +07:00
|
|
|
classpath 'io.spring.nohttp:nohttp-gradle:0.0.5.RELEASE'
|
2020-04-24 02:37:17 +07:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
maven { url 'https://repo.spring.io/plugins-snapshot' }
|
|
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
|
|
|
}
|
2020-04-16 03:21:52 +07:00
|
|
|
}
|
|
|
|
|
2020-08-18 22:00:47 +07:00
|
|
|
apply plugin: 'io.spring.nohttp'
|
2020-08-20 03:31:01 +07:00
|
|
|
apply plugin: 'locks'
|
2020-04-24 02:37:17 +07:00
|
|
|
apply plugin: 'io.spring.convention.root'
|
|
|
|
|
2020-04-24 03:45:34 +07:00
|
|
|
group = 'org.springframework.security.experimental'
|
|
|
|
description = 'Spring Authorization Server'
|
2020-04-16 03:21:52 +07:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
2020-08-18 22:08:45 +07:00
|
|
|
dependencyManagementExport.projects = subprojects.findAll { !it.name.contains('-boot') }
|
2020-04-16 03:21:52 +07:00
|
|
|
|
2020-04-24 02:37:17 +07:00
|
|
|
subprojects {
|
|
|
|
plugins.withType(JavaPlugin) {
|
2020-08-18 22:08:45 +07:00
|
|
|
project.sourceCompatibility = "1.8"
|
|
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.encoding = "UTF-8"
|
2020-04-24 02:37:17 +07:00
|
|
|
}
|
2020-04-16 03:21:52 +07:00
|
|
|
}
|
2020-08-18 22:00:47 +07:00
|
|
|
|
|
|
|
nohttp {
|
|
|
|
allowlistFile = project.file("etc/nohttp/allowlist.lines")
|
|
|
|
}
|