1
0
mirror of synced 2026-08-05 01:36:56 +00:00

switch to official Antora Plugin for Gradle

- lock version to latest release of Antora 3.1
- declare Node.js dependencies in build.gradle
- use Node.js version provided by plugin
- assign environment variables using environments property on extension block
- move group and description project properties to gradle.properties
- remove unneeded .npmrc
- upgrade to Gradle 7.5.1
- pass -q when running gradlew from Collector
This commit is contained in:
Dan Allen
2022-09-26 14:28:34 -06:00
committed by Steve Riesenberg
parent 957566ebd7
commit 649823f401
11 changed files with 27 additions and 51 deletions
+9 -20
View File
@@ -1,27 +1,16 @@
plugins {
id "io.github.rwinch.antora" version "0.0.2"
}
group = 'org.springframework.security'
description = 'Spring Security'
node {
version = "16.17.0"
id 'org.antora' version '1.0.0-alpha.3'
}
antora {
antoraVersion = "3.1.0"
arguments = ["--clean", "--fetch", "--stacktrace"]
}
tasks.antora {
version = '~3.1'
options = ['--clean', '--fetch', '--stacktrace']
environment = [
"ALGOLIA_API_KEY" : "82c7ead946afbac3cf98c32446154691",
"ALGOLIA_APP_ID" : "244V8V9FGG",
"ALGOLIA_INDEX_NAME" : "security-docs"
'ALGOLIA_API_KEY': '82c7ead946afbac3cf98c32446154691',
'ALGOLIA_APP_ID': '244V8V9FGG',
'ALGOLIA_INDEX_NAME': 'security-docs'
]
dependencies = [
'@antora/collector-extension': '1.0.0-alpha.2'
]
}
repositories {
mavenCentral()
}