Jochen Hilgers
02/07/2023, 2:10 PMRoot project 'gradle-multi'
+--- Project ':app'
\--- Project ':testsuite'
The build.gradle of the testsuite project looks like this:
plugins {
id 'java'
id 'jacoco'
}
repositories {
mavenCentral()
}
dependencies {
implementation project(':app')
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.0'
}
test {
useJUnitPlatform()
}
:app contains the class that got testet by a Unit Test from :testsuite . The Tests are running fine but the coverage report is empty as it includes only the :testsuite project.
Is there is a way to also include the :app subproject? I feel like there is a simple way that I am just missing