Skip to content

Commit

Permalink
WIP Move test libraries for CLI to libs
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Jan 25, 2024
1 parent 6c01753 commit 7819840
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions htmlSanityCheck-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ dependencies {

implementation project(":htmlSanityCheck-core")

testImplementation 'org.spockframework:spock-core:2.3-groovy-3.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
testImplementation 'org.mockito:mockito-junit-jupiter:3.11.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.1'
testImplementation( "com.athaydes:spock-reports:2.5.0-groovy-3.0" )
testImplementation libs.spock.core
testImplementation libs.jupiter.api
testImplementation libs.mockito
testRuntimeOnly libs.jupiter.engine
testImplementation libs.spock.reports
}

compileGroovy {
Expand Down
4 changes: 3 additions & 1 deletion htmlSanityCheck-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.apache.tools.ant.filters.ReplaceTokens

plugins {
id 'java-library'
}
Expand All @@ -24,7 +26,7 @@ processResources {

exclude '**/*.png'
inputs.property "version", project.version
filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: [version: project.version])
filter(ReplaceTokens, tokens: [version: project.version])
println "after processResources config, version= ${project.version}"
}

Expand Down
7 changes: 3 additions & 4 deletions htmlSanityCheck-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ gradlePlugin {
}

dependencies {
implementation gradleApi()
implementation project(":htmlSanityCheck-core")

testImplementation(
gradleTestKit()
)

implementation libs.jsoup
implementation gradleApi()
implementation project(":htmlSanityCheck-core")
}

/*
Expand Down

0 comments on commit 7819840

Please sign in to comment.