2020-04-24 02:37:17 +07:00
|
|
|
buildscript {
|
|
|
|
dependencies {
|
2020-11-19 18:17:04 +07:00
|
|
|
classpath 'io.spring.gradle:spring-build-conventions:0.0.35.BUILD-SNAPSHOT'
|
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 {
|
2020-11-19 18:28:39 +07:00
|
|
|
maven {
|
|
|
|
url = 'https://repo.spring.io/plugins-snapshot'
|
|
|
|
if (project.hasProperty('artifactoryUsername')) {
|
|
|
|
credentials {
|
|
|
|
username "$artifactoryUsername"
|
|
|
|
password "$artifactoryPassword"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-24 02:37:17 +07:00
|
|
|
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
|
|
|
|
2020-09-04 01:29:13 +07:00
|
|
|
ext.snapshotBuild = version.contains("SNAPSHOT")
|
|
|
|
|
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")
|
|
|
|
}
|