https://github.com/runningcode/replace-plugin-task
https://github.com/runningcode/replace-plugin-task
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/runningcode/replace-plugin-task
- Owner: runningcode
- Created: 2021-05-27T22:39:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T23:03:35.000Z (about 5 years ago)
- Last Synced: 2025-02-25T08:15:24.765Z (over 1 year ago)
- Language: Kotlin
- Size: 57.6 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Replace Gradle Plugin Task
This sample demonstrates how to replace a third party Gradle plugin's task in order to make the build compatible with Gradle 7.0.
The plugin is defined as a composite build in the [`plugin` project](https://github.com/runningcode/replace-plugin-task/blob/master/plugin/build.gradle.kts#L18). It is included in the main build and [applied in the `lib` project](https://github.com/runningcode/replace-plugin-task/blob/master/lib/build.gradle#L3).
To run the sample, `./gradlew :lib:incompatibleTask`. To see the incompatible task fail the build in an integration test, run `./gradlew :plugin:test`