spring-authorization-server/build.gradle

48 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

buildscript {
dependencies {
classpath 'io.spring.gradle:spring-build-conventions:0.0.37'
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'
}
repositories {
maven {
url = 'https://repo.spring.io/plugins-snapshot'
if (project.hasProperty('artifactoryUsername')) {
credentials {
username "$artifactoryUsername"
password "$artifactoryPassword"
}
}
}
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'
apply plugin: 'io.spring.convention.root'
group = 'org.springframework.security.experimental'
description = 'Spring Authorization Server'
2020-04-16 03:21:52 +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
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-16 03:21:52 +07:00
}
2020-08-18 22:00:47 +07:00
nohttp {
allowlistFile = project.file("etc/nohttp/allowlist.lines")
}