shama
01/30/2023, 8:56 PM1.8
no longer generate .d.ts
files or is there a configuration I’m missing? When on Kotlin 1.7.21
they generate in build/developmentLibrary/
but with 1.8
they are no longer there.Big Chungus
01/30/2023, 9:01 PMshama
01/30/2023, 9:02 PMIR
. I’ll try setting up a new project to be sure it’s not something unique in our project.shama
01/30/2023, 9:18 PM1.7.21
generates a .d.ts
and updating to 1.8
it no longer does.Big Chungus
01/30/2023, 9:20 PMshama
01/30/2023, 9:21 PMbinaries.library()
and binaries.executable()
tooBig Chungus
01/30/2023, 9:21 PMshama
01/30/2023, 9:21 PM/gradlew jsBrowserDevelopmentLibraryDistribution
Big Chungus
01/30/2023, 9:21 PMshama
01/30/2023, 9:22 PM.d.ts
file in the js/packages/<Project>/kotlin/
anymore either.Big Chungus
01/30/2023, 9:23 PMshama
01/30/2023, 9:27 PMuseCommonJs()
either on my end. I appreciate the help btw!shama
01/30/2023, 9:31 PMbinaries.executable()
to binaries.library()
. Running jsBrowserDevelopmentLibraryDistribution
with 1.7.21
creates .d.ts
files.
Changing it to kotlin("multiplatform") version "1.8.0"
and commenting out the deprecated cssSupport.enabled = true
option, it no longer generates .d.ts
files.Big Chungus
01/30/2023, 9:33 PMBig Chungus
01/30/2023, 9:56 PM./gradlew clean build
would've worked for you.Big Chungus
01/30/2023, 9:57 PMBig Chungus
01/30/2023, 9:57 PMBig Chungus
01/30/2023, 10:02 PMshama
01/30/2023, 10:07 PM.d.ts
files now using productionLibraries.Big Chungus
01/30/2023, 10:10 PMBig Chungus
01/30/2023, 10:10 PMbuild
or assemble
shama
01/30/2023, 10:11 PMCLOVIS
01/31/2023, 8:51 AMBig Chungus
01/31/2023, 8:57 AMtasks {
all {
doFirst {
println("$(task.name) outputs: $(outputs.files)")
}
}
CLOVIS
01/31/2023, 9:03 AMBig Chungus
01/31/2023, 9:04 AMwillyrs
04/21/2023, 1:47 PMBig Chungus
04/21/2023, 1:48 PMBig Chungus
04/21/2023, 1:48 PMBig Chungus
04/21/2023, 1:50 PMwillyrs
04/21/2023, 2:21 PMwillyrs
04/21/2023, 2:32 PMjeran
05/17/2023, 2:41 PMjs(IR) {
nodejs()
binaries.library()
}
worked fine with any 1.7.x versions we usedAndrey Tabakov
05/17/2023, 2:48 PMgenerateTypeScriptDefinitions()
js(IR) {
generateTypeScriptDefinitions()
binaries.library()
}
jeran
05/17/2023, 2:53 PMAndrey Tabakov
05/17/2023, 2:56 PMjeran
05/17/2023, 3:01 PMjeran
05/17/2023, 3:01 PMjeran
05/28/2023, 8:03 PMgenerateTypeScriptDefinitions()
was definitely the answer to my issue. some local transient build issue was causing gradle not to find it, but it is present in 1.8.20