Permalink
Browse files
Adds htmlSanityCheck gradle plugin
- Loading branch information...
Showing
with
16 additions
and
1 deletion.
-
+1
−0
gradle.properties
-
+7
−0
guides/build.gradle
-
+8
−1
main/build.gradle
|
@@ -12,4 +12,5 @@ gradleBintrayPluginVersion=1.8.0 |
|
|
|
buildInfoExtractorGradleVersion=4.6.0 |
|
|
|
gradleLinkcheckerPluginVersion=1.0.0 |
|
|
|
shadowJarVersion=2.0.4 |
|
|
|
htmlSanityCheckVersion=0.9.7 |
|
|
|
yamlVersion=1.20 |
|
@@ -7,13 +7,15 @@ buildscript { |
|
|
|
dependencies { |
|
|
|
classpath "com.github.jengelman.gradle.plugins:shadow:$shadowJarVersion" |
|
|
|
classpath "gradle.plugin.org.openrepose:gradle-linkchecker-plugin:$gradleLinkcheckerPluginVersion" |
|
|
|
classpath "gradle.plugin.org.aim42:htmlSanityCheck:$htmlSanityCheckVersion" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
apply plugin: "com.github.johnrengelman.shadow" |
|
|
|
apply plugin: 'groovy' |
|
|
|
apply plugin: 'application' |
|
|
|
apply plugin: "org.openrepose.gradle.plugins.linkchecker" |
|
|
|
apply plugin: 'org.aim42.htmlSanityCheck' |
|
|
|
|
|
|
|
ext { |
|
|
|
siteDir = 'site' |
|
@@ -80,3 +82,8 @@ linkchecker { |
|
|
|
inputDir = new File("${project.buildDir}/${siteDir}") |
|
|
|
} |
|
|
|
runShadow.finalizedBy 'linkchecker' |
|
|
|
|
|
|
|
htmlSanityCheck { |
|
|
|
sourceDir = new File("${project.buildDir}/${siteDir}") |
|
|
|
} |
|
|
|
runShadow.finalizedBy(htmlSanityCheck) |
|
@@ -7,13 +7,15 @@ buildscript { |
|
|
|
dependencies { |
|
|
|
classpath "com.github.jengelman.gradle.plugins:shadow:$shadowJarVersion" |
|
|
|
classpath "gradle.plugin.org.openrepose:gradle-linkchecker-plugin:$gradleLinkcheckerPluginVersion" |
|
|
|
classpath "gradle.plugin.org.aim42:htmlSanityCheck:$htmlSanityCheckVersion" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
apply plugin: "com.github.johnrengelman.shadow" |
|
|
|
apply plugin: 'groovy' |
|
|
|
apply plugin: 'application' |
|
|
|
apply plugin: "org.openrepose.gradle.plugins.linkchecker" |
|
|
|
apply plugin: 'org.aim42.htmlSanityCheck' |
|
|
|
|
|
|
|
ext { |
|
|
|
siteDir = 'site' |
|
@@ -129,4 +131,9 @@ processResources.dependsOn = ['copyAssets'] |
|
|
|
linkchecker { |
|
|
|
inputDir = new File("${project.buildDir}/${siteDir}") |
|
|
|
} |
|
|
|
runShadow.finalizedBy 'linkchecker'
|
|
|
|
runShadow.finalizedBy 'linkchecker' |
|
|
|
|
|
|
|
htmlSanityCheck { |
|
|
|
sourceDir = new File("${project.buildDir}/${siteDir}") |
|
|
|
} |
|
|
|
runShadow.finalizedBy(htmlSanityCheck)
|
0 comments on commit
769fcae