Skip to content
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

Add Kotlin publishing and testing examples #3589

Merged
merged 2 commits into from
Sep 22, 2024

Conversation

0xnm
Copy link
Contributor

@0xnm 0xnm commented Sep 22, 2024

Another addition for #3451: it adds publishing and testing examples for Kotlin.

The only thing that needs to be mentioned is test filtering in Kotest: it doesn't have package.class.method format to do the filtering, instead it is using specs + classes parameters (see here).

Also mockito-kotlin requires JVM bytecode target to be 11.

@lihaoyi
Copy link
Member

lihaoyi commented Sep 22, 2024

Thanks @0xnm, looks great. I'll close out the bounty and possibly open up some further ones for the next steps in the kotlin support effort

@lihaoyi lihaoyi merged commit c5bda0d into com-lihaoyi:main Sep 22, 2024
24 checks passed
lihaoyi added a commit that referenced this pull request Sep 23, 2024
Apart from adding `.adoc` pages for all the kotlin examples
#3585
#3589
#3555 and the palantir java
format example from
https:/com-lihaoyi/mill/pulls?page=2&q=is%3Apr+is%3Aclosed,
I moved some docs around: the first few things under `Foo Example
Builds` really belong under `Foo Module Configuration`, the
`external/libraries/` folder should be in `depth/libraries/`

The test for `Custom Main Argument Parsers` seems to have bitrotted
since it was implemented, and it accidentally wasn't running in the test
suite before so we didn't notice. For now just disabling that test and
we can fix it later
@lefou lefou added this to the 0.12.0-RC3 milestone Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants