Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 is when you try to build a custom app? Hardcoding the variant is definitely not a good idea, it is possible that you could build it but just need a file refresh? Can you switch to my branch, file>invalidate caches and restart, build and then run?
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.
the goal was to find a minimal commit to convert an android java application, here the branch "develop", so that it can accomodate a kotlin application file. to learn, i looked at branch macgills/2.5-kotlin and its commits. as test i converted app/KiwixApplication.java with AndroidStudio to app/KiwixApplication.kt. the reasoning was that starting from the top of the logic would need the least adjustments in other files. the try is in soloturn/kotlin now, not compiling.
taking your 2.5-kotlin as base, i tried now again and pushed soloturn/2.5-kotlin. for me it does not build with
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.
@macgills could you do me a favour and once try if convert KiwixApplication to kotlin compiles for you, and if not what you would change in the build.gradle?