-
Notifications
You must be signed in to change notification settings - Fork 160
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
fix detection of android kotlin source directories in AGP >= 7 #733
Conversation
2669505
to
636192a
Compare
636192a
to
6046fb8
Compare
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.
Nice one 👏
I looked only at the AndroidPluginsApplier.kt
class which is fine IMO.
I also tested it locally on my current project and it works fine 🎉
Gradle 8.5
Kotlin version 1.9.21
AGP 8.2.0
Do you need more info regarding that?
Thanks for verifying! I'll give @JLLeitschuh some time to review it before merging |
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.
Few questions
plugin/src/main/kotlin/org/jlleitschuh/gradle/ktlint/android/AndroidPluginsApplier.kt
Outdated
Show resolved
Hide resolved
3f2abf0
to
03d364b
Compare
03d364b
to
e203692
Compare
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.
LGTM, but there are a few minor suggestions, and a question
plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/UnsupportedGradleTest.kt
Outdated
Show resolved
Hide resolved
plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/android/KtlintPluginAndroidTest.kt
Outdated
Show resolved
Hide resolved
Any idea why checking bashisims is failing? |
package resolution error in ubuntu. something similar happened before and I had to manually specify a version to fix it. Ill investigate further |
03d6148
to
e45584b
Compare
e45584b
to
20b5093
Compare
20b5093
to
ca166cc
Compare
Nice work! Merged! |
increase maximum gradle version to 8.5
increase maximum ktlint version to 1.1.0
increase maximum kotlin version to 1.9.21
fix lint failures
fixes #702
based on work in #703