Skip to content

Commit

Permalink
Merge pull request #101 from kennethshackleton/java-11
Browse files Browse the repository at this point in the history
Support Java 11.
  • Loading branch information
kennethshackleton authored May 8, 2021
2 parents cbfb821 + 53a77fc commit 73aa257
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
submodules: true
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: 'Configure local.properties'
run: |
echo "sdk.dir=${ANDROID_HOME}" > local.properties
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
submodules: true
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: 'Configure local.properties'
run: |
echo "sdk.dir=${ANDROID_HOME}" > local.properties
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
submodules: true
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- uses: actions/setup-python@v2
with:
python-version: 3.8
Expand Down
5 changes: 4 additions & 1 deletion buildSrc/src/main/kotlin/JacocoAndroidPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ class JacocoAndroidPlugin : Plugin<Project> {
else -> error("Unrecognised Android project type for project '$name'.")
}.all {
val testTask = this@run.tasks.unitTestTask(this@all).apply {
jacocoTaskExtension().isIncludeNoLocationClasses = true
jacocoTaskExtension().let {
it.isIncludeNoLocationClasses = true
it.excludes = listOf("jdk.internal.*")
}
}
tasks.register(
"jacocoTest${name.capitalize(Locale.US)}UnitTestReport",
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ openssl.sha256=1e3a91bc1f9dfce01af26026f856e064eab4c8ee0a8f457b5ae30b40b8b711f2
openssl.pgp.sha256=f3fd3299a79421fffd51d35f62636b8e987dab1d3033d93a19d7685868e15395

org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx2048m -XX:MaxPermSize=1024m
org.gradle.jvmargs=-Xms256m -Xmx2048m -XX:MaxPermSize=1024m -XX:+UseParallelGC
org.gradle.parallel=true

kotlin.code.style=official
Expand Down

0 comments on commit 73aa257

Please sign in to comment.