3.x: Update Gradle task dependencies to remove dependsOn 'build' task by benjamintboyle · Pull Request #7255 · ReactiveX/RxJava · GitHub
Skip to content

3.x: Update Gradle task dependencies to remove dependsOn 'build' task#7255

Merged
akarnokd merged 1 commit into
ReactiveX:3.xfrom
benjamintboyle:update-gradle-task-dependencies
May 5, 2021
Merged

3.x: Update Gradle task dependencies to remove dependsOn 'build' task#7255
akarnokd merged 1 commit into
ReactiveX:3.xfrom
benjamintboyle:update-gradle-task-dependencies

Conversation

@benjamintboyle

@benjamintboyle benjamintboyle commented May 5, 2021

Copy link
Copy Markdown
Contributor

It is generally discouraged to add dependencies on 'build', so 'javadocCleanup'
and 'jacocoTestReport' have been removed and put on better tasks. Also,
'jacocoTestReport' needs input from the test results.

Updated task dependencies:

  • Gradle 'javadoc' task is finalized by 'javadocCleanup', and 'javadocCleanup'
    no longer directly invoked by 'build'
  • Gradle 'jacocoTestReport' task run by 'check' instead of 'build', and
    'jacocoTestReport' depends on 'test' and 'testng'

Changes due to dependency updates:

  • Add 'javadoc' generation task on Github actions that only 'build'
  • Remove 'javadocCleanup' task from Github action as 'publish...' tasks
    already dependent on 'javadoc'

Miscellaneous tangential cleanup:

  • Remove "pr" parameter on command line in Github workflow as parameter
    is no longer functional
  • Enclose source/target compatibility in Gradle java block

It is generally discouraged to add dependencies on 'build', so 'javadocCleanup'
and 'jacocoTestReport' have been removed and put on better tasks. Also,
'jacocoTestReport' needs input from the test results.

Updated task dependencies:
- Gradle 'javadoc' task is finalized by 'javadocCleanup', and 'javadocCleanup'
  no longer directly invoked by 'build'
- Gradle 'jacocoTestReport' task run by 'check' instead of 'build', and
  'jacocoTestReport' depends on 'test' and 'testng'

Changes due to dependency updates:
- Add 'javadoc' generation task on Github actions that only 'build'
- Remove 'javadocCleanup' task from Github action as 'publish...' tasks
  already dependent on 'javadoc'

Miscellaneous tangential cleanup:
- Remove "pr" parameter on command line in Github workflow as parameter
  is no longer functional
- Enclose source/target compatibility in Gradle java block
@codecov

codecov Bot commented May 5, 2021

Copy link
Copy Markdown

@akarnokd akarnokd merged commit 06294de into ReactiveX:3.x May 5, 2021
@benjamintboyle benjamintboyle deleted the update-gradle-task-dependencies branch May 5, 2021 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants