Skip to content

Repository files navigation

Scala language support for Android

Tested on a popular Android App.

Supported versions

Example project

https://github.com/onsqcorp/hello-scala-android

Installation

In build.gradle.kts

plugins {
    id("com.soundcorset.scala-android") version "26.0124.2208"
    // ...
}
scala.scalaVersion = "3.7.3"

Version compatibility

AGP version scala-android version
9.0.0 or later 26.0124.2208
8.4.x to 8.13.x 25.0417.2204

Build from the source and apply it to your project

  • Clone this repository
  • Run publishToMavenLocal gradle command
  • In the console, the artifact information groupId: com.soundcorset, version: yy.MMdd.HHmm will be displayed (version changed for each time).
  • Set mavenLocal() in your project's settings.gradle.kts:
pluginManagement {
    repositories {
        mavenLocal() // needed to access local repository
        // ...
    }
}
  • Set correct version of the plugin in your project's build.gradle.kts:
plugins {
    id("com.soundcorset.scala-android") version "yy.MMdd.HHmm"
    // ...
}
scala.scalaVersion = ...

About

Scala support for Android Gradle project.

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages