Skip to content

Commit

Permalink
Stop publishing mockito-inline (#2945)
Browse files Browse the repository at this point in the history
The tests will remain in the new `inlineTest` subproject.

Fixes #2877
  • Loading branch information
krzyk authored Mar 18, 2023
1 parent 393f0a1 commit 568c829
Show file tree
Hide file tree
Showing 28 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

include("subclass",
"inline",
"inlineTest",
"proxy",
"extTest",
"groovyTest",
Expand Down
2 changes: 1 addition & 1 deletion subprojects/androidTest/androidTest.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ apply from: "$rootDir/gradle/dependencies.gradle"
dependencies {
implementation libraries.kotlin.stdlib

testImplementation project(":inline")
testImplementation project(":")
testImplementation libraries.junit4
testImplementation libraries.junitJupiterApi
testImplementation libraries.junitJupiterEngine
Expand Down
2 changes: 1 addition & 1 deletion subprojects/groovyInlineTest/groovyInlineTest.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Integration test for using mockito-inline with Groovy."
apply from: "$rootDir/gradle/dependencies.gradle"

dependencies {
testImplementation project(":inline")
testImplementation project(":")
testImplementation libraries.groovy
testImplementation libraries.junit4
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
plugins {
id 'java'
}

description = "Mockito preconfigured inline mock maker (intermediate and to be superseeded by automatic usage in a future version)"

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

sourceCompatibility = 11
targetCompatibility = 11

dependencies {
api project.rootProject
implementation project.rootProject
testImplementation libraries.junit4
testImplementation libraries.assertj
}

tasks.javadoc.enabled = false

//required by the "StressTest.java" and "OneLinerStubStressTest.java"
test.maxHeapSize = "256m"
retryTest.maxHeapSize = "256m"

test {
jvmArgs '--illegal-access=deny'
//required by the "StressTest.java" and "OneLinerStubStressTest.java"
maxHeapSize '256m'
}

0 comments on commit 568c829

Please sign in to comment.