-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: New approach for creating custom command for impact analysis #130
Feature: New approach for creating custom command for impact analysis #130
Conversation
...ledetector/src/main/kotlin/com/dropbox/affectedmoduledetector/AffectedModuleConfiguration.kt
Outdated
Show resolved
Hide resolved
...or/src/main/kotlin/com/dropbox/affectedmoduledetector/plugin/AffectedModuleDetectorPlugin.kt
Outdated
Show resolved
Hide resolved
...detector/src/main/kotlin/com/dropbox/affectedmoduledetector/plugin/AffectedModuleTaskType.kt
Outdated
Show resolved
Hide resolved
...ledetector/src/main/kotlin/com/dropbox/affectedmoduledetector/AffectedModuleConfiguration.kt
Outdated
Show resolved
Hide resolved
# Conflicts: # affectedmoduledetector/src/main/kotlin/com/dropbox/affectedmoduledetector/AffectedModuleDetectorPlugin.kt
Codecov Report
@@ Coverage Diff @@
## main #130 +/- ##
============================================
+ Coverage 49.78% 53.69% +3.91%
- Complexity 58 68 +10
============================================
Files 12 13 +1
Lines 462 514 +52
Branches 96 97 +1
============================================
+ Hits 230 276 +46
- Misses 207 212 +5
- Partials 25 26 +1
Continue to review full report at Codecov.
|
* @see CustomTask - Implementation class | ||
* @see AffectedModuleDetectorPlugin - gradle plugin | ||
*/ | ||
var customTasks = emptySet<AffectedModuleConfiguration.CustomTask>() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should better use DomainObject APIs. I've created #161 for tracking that.
Hello! My name is Roman.
You can write me:
Twiter: @Evleaps
WhatApp: +79056609998
Description
Creating of new gradle task with impact analysis is qiute complex task.
Need to create buildSrc and custom plugin, but it might be not trivial knowledge for general people. This mean that people can decline using this library due to complexety of extention. Also, using buildSrc quite complex, developers can make some mistakes which will rebuild all dependencies. Hence, a build time might be increased.
Problem:
Add new gradle command quite complex.
Solution
Share interface to developers. They can add customTasks in configuration without buildSrc.
NOTE
Please, start your review from
readme.md