Skip to content

Commit

Permalink
Add new artifact mockito-subclass (to use mock-maker-subclass MockMaker)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Dec 12, 2022
1 parent e2e6289 commit 8655649
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
matrix:
java: [8, 11, 17]
mock-maker: ['mock-maker-default', 'mock-maker-inline']
mock-maker: ['mock-maker-default', 'mock-maker-inline', 'mock-maker-subclass']

# All build steps
# SINGLE-MATRIX-JOB means that the step does not need to be executed on every job in the matrix
Expand Down
3 changes: 2 additions & 1 deletion settings.gradle.kts
Expand Up @@ -2,7 +2,8 @@ plugins {
id("com.gradle.enterprise").version("3.3.4")
}

include("inline",
include("subclass",
"inline",
"proxy",
"extTest",
"groovyTest",
Expand Down
@@ -0,0 +1 @@
member-accessor-module
@@ -0,0 +1 @@
mock-maker-subclass
9 changes: 9 additions & 0 deletions subprojects/subclass/subclass.gradle
@@ -0,0 +1,9 @@
description = "Mockito preconfigured subclass mock maker"

apply from: "$rootDir/gradle/java-library.gradle"

dependencies {
api project.rootProject
}

tasks.javadoc.enabled = false

0 comments on commit 8655649

Please sign in to comment.