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

Fix some ktlint issues #145

Merged
merged 3 commits into from Nov 8, 2018
Merged

Fix some ktlint issues #145

merged 3 commits into from Nov 8, 2018

Conversation

tasomaniac
Copy link
Contributor

Tried to fix some ktlint issues.

  • Added tests for different versions
  • Automatically resolve the output files name from the task. File names have been changed but not this property.
  • Removed automatic adding of CHECKSTYLE reporter since passing String is not supported anymore and we cannot really reference their enum type in our integration.
    • That's why now, we will require users to manually add CHECKSTYLE in their config.
    • Our integration will crash with a good message if it is missing.

Problems:

  • Only for Android projects, for some reason ktlintCheck task give NO-SOURCE no matter I tried. Will spend some more time later.

@tasomaniac
Copy link
Contributor Author

Fixes #140

@tasomaniac
Copy link
Contributor Author

Also fixes #129 since I use matching to resolve the task dynamically.

@@ -26,7 +26,6 @@ apply plugin: 'kotlin-android'

android {
compileSdkVersion 27
buildToolsVersion '27.0.0'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These were giving warnings. Not really needed.

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.

Let's 🚢 🇮🇹

@mr-archano mr-archano merged commit c3a0481 into develop Nov 8, 2018
@mr-archano mr-archano deleted the taso/fix/ktlint branch November 8, 2018 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants