Skip to content

Commit 8942f9d

Browse files
committed
Improved README.md
1 parent 0d4b29d commit 8942f9d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,15 @@ The emitted Scala code is more compatible with Android ART.
3636
Since currently all Scala libraries are not yet published to Maven Central with this version,
3737
the workaround is to let Android R8 minify the code,
3838
so `minifyEnabled true` must be set even for `debug` builds.
39+
40+
### Building Scala with Gradle
41+
42+
In this project two different solutions coexist:
43+
44+
1. The `app` module is built using the [scala-android-plugin](https://github.com/onsqcorp/scala-android-plugin),
45+
which is brilliantly designed to work with the official
46+
[Android Gradle Plugin (AGP)](https://mvnrepository.com/artifact/com.android.tools.build/gradle/8.9.2).
47+
48+
2. The separate `core` module is built with the official Gradle
49+
[Scala Plugin](https://docs.gradle.org/current/userguide/scala_plugin.html),
50+
which is not compatible with AGP.

0 commit comments

Comments
 (0)