package Ġio . fluid sonic . gradle Ċ Ċ import Ġcom . github . ben man es . gradle . versions .* Ċ import Ġcom . github . ben man es . gradle . versions . updates . gradle .* Ċ import Ġorg . gradle . api .* Ċ import Ġorg . gradle . api . tasks . wrapper .* Ċ import Ġorg . gradle . kotlin . dsl .* ĊĊ Ċ internal Ġclass ĠLibrary Configurator ( Ċ ĉ private Ġval Ġconfiguration : ĠLibrary Configuration , Ċ ĉ private Ġval Ġproject : ĠProject , Ċ ) Ġ{ ĊĊ ĉ fun Ġconfigure () Ġ= Ġproject . run Ġ{ Ċĉ ĉ apply < Versions Plugin >() ĊĊĉ ĉ extensions . extra Properties . set (" kotlin . mpp . enable Gran ular Source Sets Metadata ", Ġ" true ") Ċĉ ĉ extensions . extra Properties . set (" kotlin . native . enable Dependency Propagation ", Ġ" false ") ĊĊĉ ĉ repositories Ġ{ Ċĉĉ ĉ maven Central () Ċĉĉ ĉ maven (" https :// maven . pkg . jetbrains . space / kotlin / p / kotlin / kotlin - js - wrappers /") Ċĉ ĉ } ĊĊĉ ĉ wrapper Ġ{ Ċĉĉ ĉ distribution Type Ġ= ĠWrapper . Distribution Type . ALL Ċĉĉ ĉ gradle Version Ġ= Ġconfiguration . gradle Version Ċĉ ĉ } ĊĊĉ ĉ dependency Updates Ġ{ Ċĉĉ ĉ gradle Release Channel Ġ= ĠGradle Release Channel . CURRENT . id Ċĉĉ ĉ output Formatter Ġ= Ġnull ĊĊĉĉ ĉ if Ġ(! configuration . dependency Updates Include Un stable Versions ) Ċĉĉĉ ĉ reject Version If Ġ{ Ċĉĉĉĉ ĉ is Un stable Version ( candidate . version ) Ġ&& Ġ! is Un stable Version ( current Version ) Ċĉĉĉ ĉ } Ċĉ ĉ } ĊĊĉ ĉ extensions . add (" io . fluid sonic . gradle ", ĠLibrary Plugin Extension ( configuration Ġ= Ġconfiguration )) Ċ ĉ } Ċ } Ċ