Right now building of variants require to set a library name for each variant. It would be convenient to build variants into dedicated folders. If I have 2 variants on Android let's say armeabi and armeabiv-7a resulting native libraries would keep the same name but be stored into the given folder.
this is a snippet of android.gradle file.
ANDROID.font = [:]
ANDROID.font.variants = ["armeabi", "armeabiv_7a"]
ANDROID.font.lib = "javafx-font"
ANDROID.font.armeabi = [:]
ANDROID.font.armeabi.ccFlags = [ccFlags, ccWarnFlags, ccArchFlags, ccArchV5Flags, ccOptFlags,
ccDebugFlags, ccDefaultIncludeFlags].flatten()
ANDROID.font.armeabi.libDest = "armeabi"
ANDROID.font.armeabiv_7a = [:]
ANDROID.font.armeabiv_7a.ccFlags = [ccFlags, ccWarnFlags, ccArchFlags, ccArchV7AFlags, ccOptFlags,
ccDebugFlags, ccDefaultIncludeFlags].flatten()
ANDROID.font.armeabiv_7a.libDest = "armeabiv-7a"
this is a snippet of android.gradle file.
ANDROID.font = [:]
ANDROID.font.variants = ["armeabi", "armeabiv_7a"]
ANDROID.font.lib = "javafx-font"
ANDROID.font.armeabi = [:]
ANDROID.font.armeabi.ccFlags = [ccFlags, ccWarnFlags, ccArchFlags, ccArchV5Flags, ccOptFlags,
ccDebugFlags, ccDefaultIncludeFlags].flatten()
ANDROID.font.armeabi.libDest = "armeabi"
ANDROID.font.armeabiv_7a = [:]
ANDROID.font.armeabiv_7a.ccFlags = [ccFlags, ccWarnFlags, ccArchFlags, ccArchV7AFlags, ccOptFlags,
ccDebugFlags, ccDefaultIncludeFlags].flatten()
ANDROID.font.armeabiv_7a.libDest = "armeabiv-7a"