Skip to content

Commit

Permalink
fix gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan committed Oct 8, 2023
1 parent 3c543af commit 72d152e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ kapt.includeCompileClasspath = false
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent

tasks.withType(Test).configureEach {
tasks.withType(Test) {
jacoco.includeNoLocationClasses = true
jacoco.excludes = ['jdk.internal.*']
testLogging {
Expand All @@ -105,8 +105,7 @@ tasks.withType(Test).configureEach {
maxHeapSize = "4g"
}

tasks.register('jacocoTestReport', JacocoReport) {
dependsOn['testDebugUnitTest']
task jacocoTestReport(type: JacocoReport, dependsOn: ['testDebugUnitTest']) {

reports {
xml.required.set(true)
Expand Down
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

<activity
android:name=".Main"
android:label="@string/app_name"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down

0 comments on commit 72d152e

Please sign in to comment.