Skip to content

Commit cddce2d

Browse files
committed
Revert an accidental change that regenerates Kotlin bindings for module changes
1 parent 8f05fd6 commit cddce2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

native/kotlin/api/kotlin/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ val generateUniFFIBindingsTask = tasks.register<Exec>("generateUniFFIBindings")
117117
inputs.dir("$cargoProjectRoot/wp_uniffi_bindgen/")
118118
// Re-generate if our uniffi-bindgen version changes.
119119
inputs.file("$cargoProjectRoot/Cargo.lock")
120+
// Re-generate if the module source code changes
121+
inputs.dir("$cargoProjectRoot/$rustPrimaryModule/")
120122
}
121123

122124
tasks.named("compileKotlin").configure {

0 commit comments

Comments
 (0)