Commit cc56b045 authored by Shailesh Baldaniya's avatar Shailesh Baldaniya

fix: Build sdk command to run on both linux and windows

parent f621ce27
......@@ -126,7 +126,11 @@ kotlin {
// FIXME - build and install the sdk into the app/libs directory
// We were having some issues with the kapt generated files from the sdk when importing as a module
task compileSdk(type:Exec) {
commandLine './build-sdk.sh'
if (System.getProperty('os.name').toLowerCase(Locale.ROOT).contains('windows')) {
commandLine 'cmd', '/c', 'build-sdk.sh'
} else {
commandLine './build-sdk.sh'
}
}
preBuild.dependsOn compileSdk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment