Gradle is locking files in windows, seems that not using daemon might be a workaround

This commit is contained in:
Ugljesa Jovanovic 2020-10-23 20:27:03 +02:00
parent b0a39be7e9
commit 1a89ce317d
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
4 changed files with 14 additions and 15 deletions

View File

@ -1,8 +1,8 @@
set -e
#!/bin/sh
#this will hopefully download all konan dependancies that we use in the build scripts
./gradlew clean
./gradlew multiplatform-crypto-api:build
./gradlew --no-daemon clean
./gradlew --no-daemon multiplatform-crypto-api:build
cd sodiumWrapper
echo "Starting mingw libsodium build"
./configureMingw64.sh
@ -13,8 +13,8 @@ make -j4 -C libsodium install
echo "completed libsodium build"
#now we can do the delegated build
cd ..
./gradlew multiplatform-crypto-delegated:build
./gradlew --no-daemon multiplatform-crypto-delegated:build
#and then libsodium bindings
./gradlew multiplatform-crypto-libsodium-bindings:build
./gradlew --no-daemon multiplatform-crypto-libsodium-bindings:build
set +e

View File

@ -1,7 +1,6 @@
set -e
#!/bin/sh
./gradlew clean
./gradlew multiplatform-crypto-api:build
./gradlew multiplatform-crypto:build
./gradlew --no-daemon multiplatform-crypto-api:build
./gradlew --no-daemon multiplatform-crypto:build
set +e

View File

@ -2,7 +2,7 @@ set -e
#!/bin/sh
#this will hopefully download all konan dependancies that we use in the build scripts
./gradlew clean
./gradlew multiplatform-crypto-api:build
./gradlew --no-daemon multiplatform-crypto-api:build
cd sodiumWrapper
echo "Starting mingw libsodium build"
./configureMingw64.sh
@ -13,9 +13,9 @@ make -j4 -C libsodium install
echo "completed libsodium build"
#now we can do the delegated build
cd ..
./gradlew multiplatform-crypto-delegated:build
./gradlew multiplatform-crypto-delegated:publishMingwX64PublicationToSnapshotRepository
./gradlew --no-daemon multiplatform-crypto-delegated:build
./gradlew --no-daemon multiplatform-crypto-delegated:publishMingwX64PublicationToSnapshotRepository
./gradlew multiplatform-crypto-libsodium-bindings:build
./gradlew multiplatform-crypto-libsodium-bindings:publishMingwX64PublicationToSnapshotRepository
./gradlew --no-daemon multiplatform-crypto-libsodium-bindings:build
./gradlew --no-daemon multiplatform-crypto-libsodium-bindings:publishMingwX64PublicationToSnapshotRepository
set +e

View File

@ -2,7 +2,7 @@ set -e
#!/bin/sh
#this will hopefully download all konan dependancies that we use in the build scripts
./gradlew clean
./gradlew multiplatform-crypto-api:build
./gradlew multiplatform-crypto:build
./gradlew multiplatform-crypto:publishMingwX64PublicationToSnapshotRepository
./gradlew --no-daemon multiplatform-crypto-api:build
./gradlew --no-daemon multiplatform-crypto:build
./gradlew --no-daemon multiplatform-crypto:publishMingwX64PublicationToSnapshotRepository
set +e