add test coverage plugin

This commit is contained in:
ChUrl
2020-12-16 14:55:38 +01:00
parent e08cbcb15a
commit 938d2a6afe
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="CompilerProjekt" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="de.churl" external.system.module.version="1.0-SNAPSHOT" type="JAVA_MODULE" version="4">
<module external.linked.project.id="CompilerProjekt" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="de.churl" external.system.module.version="1.0" type="JAVA_MODULE" version="4">
<component name="CheckStyle-IDEA-Module">
<option name="configuration">
<map />

View File

@ -2,13 +2,18 @@ plugins {
id 'java'
id 'application'
id 'antlr'
id 'jacoco'
}
group 'de.churl'
version '1.0-SNAPSHOT'
version '1.0'
sourceCompatibility = '14'
mainClassName = 'StupsCompiler'
jacocoTestReport {
dependsOn test // tests are required to run before generating the report
}
jar {
manifest {
attributes "Main-Class": "$mainClassName"
@ -37,4 +42,5 @@ dependencies {
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}