polyforest / acornui-gradle

A bundle of Gradle plugins that helps build Acorn UI projects with ease.
Apache License 2.0
0 stars 0 forks source link

As an Acorn UI developer, I'd like the gradle build to use classes instead of jars to for internal module dependencies. #54

Open fuzzyweapon opened 5 years ago

fuzzyweapon commented 5 years ago

The MPP plugin builds jars for each module/subproject in a multi-project build. Intellij's JPS (IDE build system) uses classes. The latter is faster and scales better with more modules though requires more heap memory.

The goal is to rebuild the proper classpaths substituting class output directories for the project dependencies.

Spike

Bonus

NOTE One thing to watch out for is I think that the MPP plugin currently puts common on the same classpath as its target classpaths directly (vs adding it as a source directory for the target source set). We should keep in line with this convention as it might reduce IDE indexing and ensure compatibility with various IDE MPP features delivered through the Kotlin IDE plugin.

fuzzyweapon commented 5 years ago

Transferring to polyforest/acornui-gradle-plugin to be addressed by plugin.