Files
spring-ldap/build.gradle
2024-02-02 14:07:08 -07:00

62 lines
1.7 KiB
Groovy

buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
classpath "com.github.ben-manes:gradle-versions-plugin:0.36.0"
classpath "io.spring.gradle:dependency-management-plugin:1.1.4"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.28.2"
classpath 'org.hidetake:gradle-ssh-plugin:2.10.1'
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0'
}
}
apply plugin: 'io.spring.convention.root'
apply plugin: 'io.spring.convention.docs'
apply plugin: 'io.spring.security.release'
group = "org.springframework.ldap"
description = "Spring LDAP"
ext.coreModules = subprojects.findAll { p-> (!p.name.contains("test") && !p.name.contains("sample") && !p.name.contains("sandbox")) || p.name.contains("spring-ldap-test") }
configure(subprojects - coreModules) {
tasks.findByPath("publishArtifacts")?.enabled = false
}
nohttp {
allowlistFile = project.file("etc/nohttp/allowlist.lines")
source.exclude "buildSrc/build/**"
}
asciidoctor {
outputDir = new File("$buildDir/docs")
attributes([
copycss : '',
icons : 'font',
'source-highlighter': 'prettify',
sectanchors : '',
toc2: '',
idprefix: '',
idseparator: '-',
doctype: 'book',
numbered: '',
'spring-ldap-version' : project.version,
revnumber : project.version
])
options = [
eruby: 'erubis'
]
}
springRelease {
repositoryOwner = "spring-projects"
repositoryName = "spring-ldap"
weekOfMonth = 2
dayOfWeek = 4
referenceDocUrl = "https://docs.spring.io/spring-ldap/reference/{version}/index.html"
apiDocUrl = "https://docs.spring.io/spring-ldap/docs/{version}/api/"
replaceSnapshotVersionInReferenceDocUrl = true
}