package Ġjet brains . build Server . script Ċ Ċ import Ġjet brains . build Server . dotnet . Dot net Constants Ċ import Ġjet brains . build Server . dotnet . Semantic Version Ċ import Ġjet brains . build Server . requirements . Requirement Ċ import Ġjet brains . build Server . requirements . Requirement Qualifier Ċ import Ġjet brains . build Server . requirements . Requirement Type Ċ Ċ object ĠFramework Requirements Ġ{ ĊĠĠĠ Ġfun Ġcreate ( var arg Ġversions : ĠString ): ĠRequirement Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠRequirement ( Requirement Qualifier . EXISTS _ QUAL IFIER Ġ+ Ġ"${ Dot net Constants . CONFIG _ PREFIX _ CORE _ RUNTIME } (${ versions . join ToString ("| ") }) [ \\ d \\. ]+ ${ Dot net Constants . CONFIG _ SUFFIX _ PATH }", Ġnull , ĠRequirement Type . EXISTS ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ enum Ġclass ĠFramework ( val Ġtf m : ĠString , Ġval Ġdescription : ĠString , Ġval Ġrequirement : ĠRequirement , Ġval Ġruntime Version : ĠString ) Ġ{ ĊĠĠĠ ĠAny (" any ", Ġ" Any ", ĠFramework Requirements . create (" 6 \\. "), Ġ" 6 . 0 . 0 "), ĊĠĠĠ Ġ// Any (" any ", Ġ" Any ", ĠFramework Requirements . create (" 6 \\ .", Ġ" 5 \\. "), Ġ" 6 . 0 . 0 "), ĊĠĠĠ ĠNet 6 0 (" net 6 . 0 ", Ġ". NET Ġ 6 . 0 ", ĠFramework Requirements . create (" 6 \\. "), Ġ" 6 . 0 . 0 "), ĊĠĠĠ ĠNet 5 0 (" net 5 . 0 ", Ġ". NET Ġ 5 . 0 ", ĠFramework Requirements . create (" 5 \\. "), Ġ" 5 . 0 . 0 "); ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġtry Parse ( tf m : ĠString ) Ġ= ĠFramework . values (). single OrNull Ġ{ Ġit . tf m . equals ( tf m , Ġtrue ) Ġ} ĊĠĠĠ Ġ} Ċ }