ELPL Initializing . . .
πŸ€– Native Mobile Integration
Beta Guide

Android Setup & Gradle Guide

Integrate the ELPL compiler directly into your Android Gradle workflow with the official plugin and start building native mobile experiences.

🚧 A full comprehensive guide is coming soon β€” this beta covers the essentials.

Full Comprehensive Guide β€” Coming Soon

We're expanding this into a complete walkthrough with real-world examples, testing patterns, ProGuard rules, plugin internals, and troubleshooting. Everything you see here is stable enough to use today β€” treat it as your beta reference.

In Progress

πŸŽ‰ ELPL is Live in Production!

ELPL isn't just experimentalβ€”we've launched an ELPL-powered Android application on Google Play. Build native Android apps using ELPL source files and the Gradle plugin.

View on Play Store
01

Apply the ELPL Gradle Plugin

Add the official ELPL Gradle plugin to your Android app module. It integrates ELPL compilation into your Gradle build workflow.

βœ“

Plugin is live!

Published on the Gradle Plugin Portal and ready to use. Check the portal for the latest version and setup details.

View official plugin listing β†’
build.gradle.kts
Kotlin DSL
plugins {
    id("com.android.application")
    id("org.jetbrains.kotlin.android")
    id("io.github.mujtabaishaq5.elpl") version "1.0.14"
}

Use the current version shown on the official plugin portal if a newer release is available.

02

Project Structure

Place your .elpl source files in the supported source directory. The plugin compiles them as part of your Android build.

app/
β”œβ”€β”€ build.gradle.kts
β”‚ └── ELPL plugin applied
└── src/
└── elpl/ <----- REQUIRED
└── main/
└── MainActivity.elpl

Keep your source organized

Keep ELPL source files in the directory configured for your plugin version. Follow the official documentation for package layout and Java/Kotlin interoperability.

Plugin setup and documentation
03

Sample MainActivity.elpl

Start with a small Android activity. This example uses onCreate as the entry point for the activity and displays a simple message.

MainActivity.elpl
Android
use androidx.appcompat.app.AppCompatActivity
use android.os.Bundle
use android.widget.TextView

class MainActivity extends AppCompatActivity {

    function onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState)

        let message be new TextView(this)
        message.setText("Hello from ELPL!")
        message.setTextSize(24)

        this.setContentView(message)
    }
}

Illustrative example: ensure imports, lifecycle signatures, and source paths match your compiler and Android project configuration.

You're viewing the Beta Guide β€” the full comprehensive guide will land soon.