From 1f16fc3089feab3f3fe5aea97a4f3611088796f7 Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Tue, 12 Dec 2023 11:40:54 +0100 Subject: [PATCH] Add mock-maker-subclass default extension --- mockito.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mockito.spec b/mockito.spec index ec57342..db84c9e 100644 --- a/mockito.spec +++ b/mockito.spec @@ -85,6 +85,10 @@ sed -i '/add_listeners_concurrently_sanity_check/i @org.junit.Ignore' src/test/j %pom_remove_dep org.junit.jupiter:junit-jupiter-api subprojects/junit-jupiter %pom_add_dep org.junit.jupiter:junit-jupiter-api subprojects/junit-jupiter +mkdir -p src/main/resources/mockito-extensions +echo 'member-accessor-module' > src/main/resources/mockito-extensions/org.mockito.plugins.MemberAccessor +echo 'mock-maker-subclass' > src/main/resources/mockito-extensions/org.mockito.plugins.MockMaker + # see gradle/mockito-core/inline-mock.gradle %pom_xpath_inject 'pom:project/pom:build/pom:plugins' '