platforms

abstract val platforms: SetProperty<ModPlatform>

Target platforms for the mod/plugin. It can add dependencies, tasks... If not set, the default platform is ModPlatform.DESKTOP.