https://kotlinlang.org logo
#korge
Title
# korge
a

andylamax

06/28/2020, 8:34 PM
The blog above said to request features if interested. So, take this as a feature request The korge gradle plugin should let the user decide which target they want to compile to. Sometimes, I want just to target say jvm and js only. The fact that I need to provide external dependencies (If I happen to have them). I need to provide them for each platform (even the one's I am not interested in) is not I deal.
d

Deactivated User

06/28/2020, 9:29 PM
You can disable kotlin native: https://github.com/korlibs/korge-plugins/blob/master/korge-gradle-plugin/src/main/kotlin/com/soywiz/korge/gradle/KorgeExtension.kt#L126 Would you prefer to disable some targets by applying a specific plugin?
a

andylamax

06/28/2020, 9:43 PM
This is exactly what I was looking for, I assume the
disable.kotlin.native
goes in
gradle.properties
correct?
d

Deactivated User

06/28/2020, 10:06 PM
yes
a

andylamax

06/29/2020, 8:32 AM
Thank you
f

fkrauthan

06/29/2020, 5:20 PM
I still think a more selective approach for targets would be nice. E.g. enable them individually instead of auto enable all of them. Even if I want to release for Windows I might not want to release for MacOS and Linux since I might not be able todo proper testing on each platform
d

Deactivated User

06/29/2020, 5:57 PM
Feel free to open a feature request here: https://github.com/korlibs/korge-plugins/issues
2 Views