package Ġcom . github . sal om on br ys . gradle . kotlin . js . assemble web Ċ Ċ import Ġorg . gradle . api . Project Ċ import Ġorg . gradle . kotlin . dsl . get ByName Ċ import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin 2 Js Compile Ċ Ċ open Ġclass ĠKotlin Platform Js As semble Web Extension ( project : ĠProject ) Ġ: ĊĠĠĠĠĠĠĠ ĠKotlin Js Web Target (" js ", Ġproject . tasks . get ByName < Kotlin 2 Js Compile >(" compile Kotlin 2 Js "), ĠlistOf (" compile Classpath ", Ġ" runtime Classpath "), Ġ"${ project . build Dir }/ web / js "), ĊĠĠĠĠĠĠĠ ĠKotlin Js As semble Web Extension Ċ