Skip to content

Commit 2b03858

Browse files
authored
Clean up build.gradle by removing unnecessary comment
Removed commented-out command line for uniffi-bindgen. Change looks good.
1 parent 827cacf commit 2b03858

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

android/convexmobile/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ tasks.register("generateUniFFIBinary", Exec) {
8181
android.libraryVariants.all { variant ->
8282
def t = tasks.register("generate${variant.name.capitalize()}UniFFIBindings", Exec) {
8383
workingDir "${project.projectDir}/../../rust"
84-
// Should work in linux/mac, tested in windows. Change if unnecessary
8584
commandLine 'cargo', 'run', '--bin', 'uniffi-bindgen', '--', 'generate', '--library', "${project.layout.buildDirectory.asFile.get().path}/rustJniLibs/android/arm64-v8a/libconvexmobile.so", '--language', 'kotlin', '--out-dir', "${project.layout.buildDirectory.asFile.get().path}/generated/source/uniffi/${variant.name}/java"
86-
//commandLine './target/debug/uniffi-bindgen', 'generate', '--library', "${project.layout.buildDirectory.asFile.get().path}/rustJniLibs/android/arm64-v8a/libconvexmobile.so", '--language', 'kotlin', '--out-dir', "${project.layout.buildDirectory.asFile.get().path}/generated/source/uniffi/${variant.name}/java"
8785
dependsOn 'generateUniFFIBinary'
8886
}
8987
def sourceSet = variant.sourceSets.find { it.name == variant.name }
@@ -182,4 +180,4 @@ task stopConvexLocalBackend {
182180
tasks.convexLocalBackend.process.destroy()
183181
}
184182
}
185-
}
183+
}

0 commit comments

Comments
 (0)