Skip to content

Commit

Permalink
modularized build, reduced nr of gradle-versions to test in functiona…
Browse files Browse the repository at this point in the history
…l test, removed GradleBugWorkaround
  • Loading branch information
gernotstarke committed Jul 26, 2018
1 parent f08b1ac commit 3aeae06
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 16 deletions.
3 changes: 2 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
HtmlSanityCheck - ChangeLog

V.0.9.8
July 2018: added CodeNarc V1.2,
July 2018: added CodeNarc V1.2, upgraded to gradle 4.9, fixed travis build, improved footer of html report


V.0.9.7
Dec 6th 2017: simplified gradle build, removed SonarQube, CodeNarc etc, added ArchUnit tests
Expand Down
2 changes: 1 addition & 1 deletion config/buildScan.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'

publishAlways()
//publishAlways()
}
12 changes: 0 additions & 12 deletions src/main/groovy/org/aim42/htmlsanitycheck/GradleBugWorkaround.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MissingImageFilesChecker extends Checker {
private String baseDirPath

// logging stuff
private final static Logger logger = LoggerFactory.getLogger(MissingImageFilesChecker.class);
private final static Logger logger = LoggerFactory.getLogger(MissingImageFilesChecker);


@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
class HtmlSanityCheckTaskFunctionalTest extends Specification {
private final static VALID_HTML = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"><html><head></head><body></body><html>"""
private final static INVALID_HTML = """<body><span id="id"/><span id="id"/></body> """
private final static GRADLE_VERSIONS = ['4.6']
private final static GRADLE_VERSIONS = ['4.9']

@Rule
final TemporaryFolder testProjectDir = new TemporaryFolder()
Expand Down

0 comments on commit 3aeae06

Please sign in to comment.