Skip to content

Commit

Permalink
WIP start testing of jQA
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Apr 4, 2024
1 parent 97b7775 commit 820a087
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
18 changes: 18 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ buildscript {
plugins {
id 'java'

alias(libs.plugins.jqassistant)
alias(libs.plugins.gradle.versions)
}

Expand Down Expand Up @@ -88,6 +89,23 @@ configure(subprojects) {
}
}

ext {
jqaversion = "2.1.0"
kejqapluginversion = "1.12.0"
}

jqassistant {
toolVersion jqaversion
// plugins "com.buschmais.jqassistant.plugin:java:$jqaversion"
// plugins "de.kontext-e.jqassistant.plugin:jqassistant.plugin.git:$kejqapluginversion"

// TODO Which Options are available? '-reset' seems to fail
// options "-reset"

scanDirs "."
}


tasks.register("integrationTestOnly") {
group("Verification")
description("Run overall integration tests (no publish)")
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ version=2.0.0-SNAPSHOT

group = org.aim42.htmlSanityCheck

org.gradle.jvmargs=-Xmx2G
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx4G --illegal-access=warn --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED
# org.gradle.parallel=true
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spock = "org.spockframework:spock-bom:2.3-groovy-3.0"

[plugins]
gradle-versions = { id= "com.github.ben-manes.versions", version = "0.50.0" }
jqassistant = { id = "de.kontext_e.jqassistant.gradle", version = "2.0.0-SNAPSHOT" }

# Copyright Gerd Aschemann and aim42 contributors.
#
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
mavenLocal()
}
}

Expand Down

0 comments on commit 820a087

Please sign in to comment.