Gradle is locking files in windows, seems that not using daemon might be a workaround
This commit is contained in:
		
							parent
							
								
									b0a39be7e9
								
							
						
					
					
						commit
						1a89ce317d
					
				@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user