Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Add sample application #100

Merged
merged 22 commits into from
Mar 15, 2018
Merged

Add sample application #100

merged 22 commits into from
Mar 15, 2018

Conversation

takecare
Copy link
Contributor

@takecare takecare commented Mar 13, 2018

Adds a sample app showcasing the usage of the plugin and some of its features. The inclusion of detekt might be particularly interesting since its setup is not straightforward.

Should cover #95

Copy link
Contributor

@mr-archano mr-archano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @takecare. I left a minor question, LGTM otherwise.


<suppressions>

<suppress checks=".*" files=".*\.kt" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldn't be enough to have this setting in the buildscript using the checkstyle.exclude()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed. and it's another plugin functionality being showcased.

to showcase different ways of ignoring/excluding tests
and fix pmd rule set import
rock3r
rock3r previously approved these changes Mar 14, 2018
Copy link
Contributor

@rock3r rock3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice — I would've put a mention to the sample in the repos/documentation though (and, possibly, some mention in the sample's own readme of how the Novoda scaffolding works)

buildToolsVersion '27.0.3'

defaultConfig {
applicationId "com.novoda.staticanalysis.sample"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: single quotes here and for the versionName

@@ -0,0 +1,20 @@
buildscript {
ext.kotlin_version = '1.2.21'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not 1.2.30?

@mr-archano
Copy link
Contributor

@rock3r, @takecare: happy to ship this and keep working on the multi-module sample?

@takecare
Copy link
Contributor Author

@mr-archano yup, i'll open another pr for the multi-module setup later

@rock3r
Copy link
Contributor

rock3r commented Mar 15, 2018

Ok let's 🚢 then! Thanks @takecare :)

@rock3r rock3r merged commit a4cb6f4 into master Mar 15, 2018
@rock3r rock3r deleted the sample-app branch March 15, 2018 08:05
@rock3r rock3r mentioned this pull request Mar 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants