add test coverage plugin
This commit is contained in:
2
.idea/CompilerProjekt.iml
generated
2
.idea/CompilerProjekt.iml
generated
@ -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 />
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user