Kotlin is a fully JVM compatible language that allow to write code in a more efficient way. It's a compiled language that integrate seamlessly in the Java JVM machine.
We have successfully used Kotlin in Grobid-quantities since version 0.7.3 for both tests and new code.
The approach so far is to gradually move to Kotlin only for new code, in particular it fits well for writing JUnit and integration tests.
In this PR, beside enabling Kotlin I added a small test to validate that it's working.
coverage: 39.923% (+0.02%) from 39.906%
when pulling 9db86676a132542b0dda29e7c7651d52960529a3 on feature/kotlin
into d98129f2953fd5a595bf88890b97a546fe763384 on master.
This PR enable Kotlin in the Grobid build. #992
Kotlin is a fully JVM compatible language that allow to write code in a more efficient way. It's a compiled language that integrate seamlessly in the Java JVM machine.
We have successfully used Kotlin in Grobid-quantities since version 0.7.3 for both tests and new code.
The approach so far is to gradually move to Kotlin only for new code, in particular it fits well for writing JUnit and integration tests.
In this PR, beside enabling Kotlin I added a small test to validate that it's working.