22 lines
770 B
Bash
Executable File
22 lines
770 B
Bash
Executable File
set -e
|
|
#!/bin/sh
|
|
#this will hopefully download all konan dependancies that we use in the build scripts
|
|
./gradlew clean
|
|
./gradlew --no-daemon multiplatform-crypto-api:build
|
|
cd sodiumWrapper
|
|
echo "Starting mingw libsodium build"
|
|
./configureMingw64.sh
|
|
echo "Configure done"
|
|
make -j4 -C libsodium clean
|
|
make -j4 -C libsodium
|
|
make -j4 -C libsodium install
|
|
echo "completed libsodium build"
|
|
#now we can do the delegated build
|
|
cd ..
|
|
./gradlew --no-daemon multiplatform-crypto-delegated:build
|
|
./gradlew --no-daemon multiplatform-crypto-delegated:publishMingwX64PublicationToSnapshotRepository
|
|
|
|
./gradlew --no-daemon multiplatform-crypto-libsodium-bindings:build
|
|
./gradlew --no-daemon multiplatform-crypto-libsodium-bindings:publishMingwX64PublicationToSnapshotRepository
|
|
set +e
|