Anyone know how to keep kotlin.ws.kts within an An...
# android
a
Anyone know how to keep kotlin.ws.kts within an Android project ? I'd like to keep my kotlin script within my android studio project so that others can use it without installing extras. I also don't know how to use dependencies within the kotlin script if it needs to be run alone (for example gson; so potentially question 2) Is anyone familiar with this ?
And if I should be using .kts vs .ws.kts please let me know (:
s
From what I understand, that's the difference between scratch files and worksheets; worksheets are meant to be part of the project
still, as long as you commit the file within the same repo, it should be fine?
a
@Steve it was given me all sorts of weird errors. Might just be how my build is configured for this project. I ended up putting the worksheet into its own module in the project and now all is well👌🏽