Skip to content

Add documentation examples for kotlin format #166

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
retorted opened this issue Apr 20, 2025 · 1 comment · May be fixed by #167
Open

Add documentation examples for kotlin format #166

retorted opened this issue Apr 20, 2025 · 1 comment · May be fixed by #167

Comments

@retorted
Copy link

I'm trying to set up compilation for Android in an app that has all the configs in .gradle.kts format and I have no idea how to rewrite the examples in the documentation (in "groovy" syntax) using the alternative kotlin syntax: https://docs.rs/rustls-platform-verifier/latest/rustls_platform_verifier/#gradle-setup

Eg; in regards to this note from the docs:

These steps assume you are using .gradle Groovy files because they’re the most common, but 
everything is 100% applicable to Kotlin script (.gradle.kts) configurations too with a few replacements.

What do those "few replacements" actually look like?

@complexspaces
Copy link
Collaborator

Hey @retorted, sorry about this. Someone asked me this question before in a now-closed GitHub issue but I forgot to properly document the result.

I've opened #167 to surface the how-to information more visibly. To the best of my knowledge it should work for you since my employer is currently using an identical script in production today. If not, please let me know here and I can try to assist more.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants