How to save files like * .scala and * .txt from my apk files?

I am trying to write an Android application in Scala using IntelliJ IDEA. I can get the apk built and working just fine, but I notice that the files are being added to my apk, which should not be. For example, all of my Scala source files are included, as well as rootdoc.txt from the Scala java library.

I am using the standard ant system build configuration provided by android sdk. I try to avoid using SBT if possible.

+6
source share
1 answer

As Flo said, this was decided. You can configure ant script or use Maven plugin to configure it. Alternatively, you can use the drawable/_pre_production/ folder, which will not be compiled into the jar.

+1
source

Source: https://habr.com/ru/post/948443/


All Articles