Skip to main content

Kotlin 1.4 Release Update By Dokka Alpha

 

Recently, the Kotlin Development team has released an alpha version of the Dokka documentation engine. The Kotlin 1.4 is the latest stable version release of the Kotlin compiler. The new Kotlin slack release would focus on reducing the amount of configuration required to use Dokka in several cases. It adds Kotlin multiplatform projects which help in spending less time writing Dokka and devote time to write Kotlin documentation.

After Kotlin app developers release the Dokka on Kotlin 1.4.0 version, the parts were redesigned into several parts from scratch. It comes with several features like HTML format, pluggability, and multimodule projects. With this, the feedback value increases from bug fixes to better source set in multiplatform projects. Let’s understand how Kotlin 1.4 incorporated its release.

Kotlin 1.4 Released Features


Simplified Gradle Plugin

Using the Dokka version, one can make the Gradle plugin easily and use it by supporting advanced configuration which powers users. With this plugin, one can generate documentation that does not require manual configuration for most projects. One can add the Gradle plugin as it’s enough to cover all cases of build.gradle.kts:

Plugins {
Id(“HELLO”) version “1.4.0.”
}

Multiplatform

It’s a default configuration that we have introduced in the previous section which works on multiplatform projects. One has to apply the Dokka Gradle plugin and all platform-specific sets to synchronized automatically using the model. Also, there’s no need to register additional source sets in Dokka as it comes with redundant data which can remove configuration files easily. The Kotlin app developers are looking for a way to merge multiple sources.

Merging Source Sets

Dokka serves as an easy and quick way to filter documentation using APIs available for a specific target. But if you’re working on a project with a lot of sets then using Kotlin multiplatform works great. In the previous version, there was a complicated configuration that comes in a single bubble and turns unnecessary complexity in the project build files.

Kotlin projects demonstrate a significant need for grouping functionality which has been introduced vastly in the simplified mechanism. As the sets represent the same platform as common, JVM, native, and JS, it comes with displayName that’s merged with the same bubble. After regenerating the documentation, we’ll get a concise source setlist under Bubbles:

Kotlinx-coroutines-core

Compatibility and Stability Notes

Make it clear that Dokka is an Alpha release for Kotlin 1.4.0. Here, Gradle Plugin APIs are subject to change in Dokka releases. It is integrated more tightly with the Gradle plugin. Now facilitate a new integration mechanism while switching towards Gradle’s new property APIs and Gradle’s new provider. With this, we can assign value to properties using .set() instead of =.

Example:
jdkVersion.set(7)

If you’re looking for detailed overview changes, then check in the configuration DSL awaited by replacement string-based APIs using java.io.File based APIs.

Also Read: Is Kotlin Better Option for Android App Development?

How to Get Started

We have to use the newest version of Dokka in your project and add the corresponding plugin directive to top with using build.gradle(.kts) file:
Check the below example:

Plugins {
Id(“Hello”) version “1.4.0.”
}

Concluding

Hope the above pointer helped in understanding the concept. If you’re still facing the issues, then join the official conversion at Kotlin Slack in the Dokka channel. Hire Kotlin app developers to get better results. Kotlin supports multiplatform and reduces the time spent writing and maintaining the same code for different platforms. Get benefits and flexibility by using native programming languages.

Comments

Popular posts from this blog

How Much Does It Cost To Hire An App Developer In 2019?

It is considered a very important question that how much it effectively costs for the purpose of hiring an app developer and that too in the year 2019. Nowadays, due to the rising trend, it is very important to hire iPhone developer. Also, it seems that each business, as well as every brand, has its own app in the year 2019. In that way, you can also hire iPhone app developer India. Even, there are many of the local coffee shops which possess an app for the purpose of ordering a frappuccino available at your doorstep or you can collect it on discounts. For developing these apps, sometimes it becomes very important to preferably hire iPhone programmer. There is a gradual presence of many of the IT entrepreneur who is usually making a fortune from a hit app. So, here are given some of the ever-actual issues of how to  hire iPhone app developer  for the development purpose. We will preferably talk about some of the important as well as general tips which can prove helpful to hire io

Engagement Models For Laravel Application Development

  In the mobile app, the development backend holds prime importance. It has a trusted and dependable technology that would take good care of your backend operations with ease. For this purpose, Laravel creator said, “we want to simplify the development process”. Today the Laravel 5.4 is the latest released version that enforces the same ideology with new features. Leverage the best Laravel application development service & create a well-tailored web app. Hire a Laravel development company to scale business growth. Laravel provides predefined architecture and customized backend logic to stand out differently from the crowd. Hire Laravel developers in India and choose the company that understands your needs. We are one of the best leading web application development companies in India. We offer a wide range of engagement models that suits our customer’s needs. Let’s dive into understanding the engagement models in a better way. What are engagement models? An engagement model is a

5 Features while Developing On-Demand ‘Mover n Packers’ App like Uber Movers

Peeping into a few years back, though there were mobiles trending, mobile apps were more limited towards messaging and gaming, but a year or two year back scenario depicts a different story in all. On-demand applications that can be for Food or say Cab Booking or for Salon or for the  Guard booking app  for the event, anything, and everything can be covered in the app itself. UBER is considered more of as a BRAND instead of just an app to book the cab. It has widespread its scope beyond the app in various fields across the globe. Along with the services of moving human from one destination to another, not just limiting to that, Uber is even into Movers and Packers, namely Uber Movers. According to the report, “UberMovers provides free and professional moving services for up to ½ an hour for students in Atlanta between 9 a.m. to 2 p.m. on Saturdays only”. Similar moving services, it provides in Nashville even. Eventually, it is spreading its wings further too. Are you the one prov