Skip to content

Commit

Permalink
Enable to run (gradle plugin) integration test with other JDK
Browse files Browse the repository at this point in the history
This is a preparation step for SonarQube tests as the sonar build
requires JDK 17 and the (Matrix) integration test should be executed
with misc. JDKs.
  • Loading branch information
ascheman committed Mar 28, 2024
1 parent f9bfa5d commit ded97c9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-java-os-mix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
java-version: ${{ matrix.java-version }}
- name: Execute integration test (on Unixes)
run: |
cd integration-test/gradle-plugin
uname -a
./gradlew --version
./gradlew info
./gradlew integrationTestOnly --scan
./gradlew htmlSanityCheck --scan
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {

allprojects {
group = group
version = version
version = htmlSanityCheckVersion

repositories {
mavenLocal()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# tag::version[]
version=2.0.0-SNAPSHOT
htmlSanityCheckVersion=2.0.0-SNAPSHOT
# end::version[]

group = org.aim42.htmlSanityCheck
Expand Down
5 changes: 3 additions & 2 deletions integration-test/gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ htmlSanityCheck {
// where to put results of sanityChecks...
checkingResultsDir = file("build/reports")

logger.quiet "docToolchain> HSC sourceDir: ${sourceDir.absolutePath}"
logger.quiet "docToolchain> HSC checkingResultsDir: ${checkingResultsDir.absolutePath}"
logger.quiet "HSC version: ${htmlSanityCheckVersion}"
logger.quiet "HSC sourceDir: ${sourceDir.absolutePath}"
logger.quiet "HSC checkingResultsDir: ${checkingResultsDir.absolutePath}"
}

tasks.register("clean", Delete) {
Expand Down
3 changes: 0 additions & 3 deletions integration-test/gradle-plugin/gradle.properties

This file was deleted.

1 change: 1 addition & 0 deletions integration-test/gradle-plugin/gradle.properties

0 comments on commit ded97c9

Please sign in to comment.