Skip to content

Commit

Permalink
Enable Java unit test coverage report (youtube#530)
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Liang <[email protected]>
  • Loading branch information
zhongqiliang and Colin Liang committed Jul 10, 2023
1 parent 4e1e814 commit a210e66
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions starboard/android/apk/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ android {
cmake.arguments "-DCOBALT_CONFIG=debug"
}
signingConfig signingConfigs.debugConfig
testCoverageEnabled true
enableUnitTestCoverage true
}
devel {
debuggable true
Expand All @@ -118,14 +118,14 @@ android {
cmake.arguments "-DCOBALT_CONFIG=devel"
}
signingConfig signingConfigs.debugConfig
testCoverageEnabled true
enableUnitTestCoverage true
}
qa {
externalNativeBuild {
cmake.arguments "-DCOBALT_CONFIG=qa"
}
signingConfig signingConfigs.debugConfig
testCoverageEnabled true
enableUnitTestCoverage true
}
release {
minifyEnabled true
Expand All @@ -149,16 +149,16 @@ android {
}
// Add the directories symlinked by the CMake "cobalt_content" custom command.
debug {
assets.srcDir "${buildDir}/intermediates/cxx/debug/cobalt_content"
assets.srcDir "${cobaltContentDir}"
}
devel {
assets.srcDir "${buildDir}/intermediates/cxx/devel/cobalt_content"
assets.srcDir "${cobaltContentDir}"
}
qa {
assets.srcDir "${buildDir}/intermediates/cxx/qa/cobalt_content"
assets.srcDir "${cobaltContentDir}"
}
release {
assets.srcDir "${buildDir}/intermediates/cxx/gold/cobalt_content"
assets.srcDir "${cobaltContentDir}"
}
}
externalNativeBuild {
Expand Down
2 changes: 1 addition & 1 deletion starboard/android/apk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.2'
classpath 'com.android.tools.build:gradle:7.4.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit a210e66

Please sign in to comment.