-
Notifications
You must be signed in to change notification settings - Fork 27
Conversation
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.
Have a question about the tasks, good otherwise
sample-multi-module/build.gradle
Outdated
mavenCentral() | ||
} | ||
} | ||
|
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.
Nit: extra whitelines
|
||
dependencies { | ||
classpath 'com.android.tools.build:gradle:3.0.1' | ||
classpath "gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0.RC6-3" |
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.
RC6-4 is out FYI
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.
seems to be breaking the plugin 🙀
A problem occurred evaluating script.
> Could not find method systemOrDefaultProfile() for arguments [] on DetektExtension(...)
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.
tracked in #102
"$p.name:assemble" | ||
}) | ||
|
||
task build(dependsOn: ['assemble', 'check']) |
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.
Are we sure we need these three tasks? Isn't it the default behaviour?
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.
right. the way we refer to the tasks just needs some changing.
As setting up SAP on a multi-module project can be a bit tricky (or not very straight-forward) a sample project showcasing this sort of setup can be very helpful for people that want to use the plugin under such conditions.
The multi-module sample is a copy of the already existing sample, with an added (Java) module and the required changes to the SAP setup.