mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
Merge pull request #77 from johnjaylward/FixJUnitGradleConfig
Fixes Gradle config so tests are only run once
This commit is contained in:
commit
44c3e321b5
2 changed files with 6 additions and 2 deletions
|
@ -28,7 +28,10 @@ dependencies {
|
|||
// testCompile files('./JSON-Java.jar')
|
||||
}
|
||||
|
||||
test { finalizedBy jacocoTestReport }
|
||||
test {
|
||||
include "org/json/junit/JunitTestSuite.class"
|
||||
finalizedBy jacocoTestReport
|
||||
}
|
||||
jacocoTestReport{
|
||||
additionalSourceDirs = files(sourceSets.main.allJava.srcDirs)
|
||||
reports {
|
||||
|
|
|
@ -17,7 +17,8 @@ import org.junit.runners.Suite;
|
|||
JSONArrayTest.class,
|
||||
EnumTest.class,
|
||||
JSONPointerTest.class,
|
||||
JSONStringTest.class
|
||||
JSONStringTest.class,
|
||||
JSONTokenerTest.class
|
||||
})
|
||||
public class JunitTestSuite {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue