David Whittaker
08/20/2022, 5:28 AM/gradlew run
. But I want to be able to take the JavaScript output and use it in my existing app. Where is the JS? I see there's a /build/js folder but no .js files, even after doing a ./gradlew build
. :: confused ::Grégory Lureau
08/20/2022, 7:54 AMBig Chungus
08/20/2022, 10:20 AMDavid Whittaker
08/21/2022, 1:17 AMBig Chungus
08/21/2022, 1:39 AMTóth István Zoltán
08/21/2022, 3:34 AMjsBRowserDistribution
and so are gradle tasks names. You can run them with ./gradlew <task-name>
command or from the ide. Think of npm build
.
To set up binaries, you have to add the binaries.executable()
your gradle build.David Whittaker
08/21/2022, 10:17 PMbinaries.exectuable()
was already in the build.gradle file as part of the new project setup. However when I try ./gradlew jsBrowserDistribution jsPublicPackageJson
I get "Task 'jsBrowserDistribution' not found in root project"browser{ }
block to the kotlin block and then use ./gradlew browserDistribution publicPackageJson
. How did you all figure this stuff out? I'm really have a hard time finding documentation. 😞Tóth István Zoltán
08/22/2022, 2:44 AMDavid Whittaker
08/22/2022, 4:50 PM