How to write an Equo app with Kotlin

An Equo app created with the CLI can be easily converted to Kotlin with the following changes.

Changes in pom.xml

First, you need to add into the pom.xml file this Kotlin dependency:


Pom example:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""




			<name>Equo Public Release Repository</name>

Kotlin Equo app

Next, you need to write the main application. You can use tools like the IntelliJ IDE to convert the Java file present in the default app or you can write it by your own.

A basic app should look like this:

fun main(args: Array<String>) {

class KotlinAppApplication : IEquoApplication {
	override fun buildApp(appBuilder: EquoApplicationBuilder): EquoApplicationBuilder {
		return appBuilder

And that’s it. Now you can run your Equo app as a Kotlin app.

Example app

Download the example app of this guide to quickly try it out.