diff --git a/apollo/build.gradle.kts b/apollo/build.gradle.kts index 4f7c969c1..3f3beaed8 100644 --- a/apollo/build.gradle.kts +++ b/apollo/build.gradle.kts @@ -841,17 +841,23 @@ afterEvaluate { ) } tasks.getByName("clean") { - // dependsOn(cleanEd25519Bip32) + dependsOn(cleanEd25519Bip32) } tasks.withType { // dependsOn(buildEd25519Bip32Task) } + tasks.getByName("androidDebugSourcesJar").dependsOn(copyEd25519Bip32GeneratedTask) + tasks.getByName("androidReleaseSourcesJar").dependsOn(copyEd25519Bip32GeneratedTask) + tasks.getByName("mergeDebugJniLibFolders").dependsOn(buildEd25519Bip32Task) tasks.getByName("mergeReleaseJniLibFolders").dependsOn(buildEd25519Bip32Task) + tasks.getByName("packageDebugResources").dependsOn(buildEd25519Bip32Task) tasks.getByName("packageReleaseResources").dependsOn(buildEd25519Bip32Task) + tasks.getByName("extractDeepLinksForAarDebug").dependsOn(buildEd25519Bip32Task) tasks.getByName("extractDeepLinksForAarRelease").dependsOn(buildEd25519Bip32Task) + tasks.getByName("mergeDebugResources").dependsOn(buildEd25519Bip32Task) tasks.getByName("mergeReleaseResources").dependsOn(buildEd25519Bip32Task) @@ -867,37 +873,6 @@ afterEvaluate { dependsOn(tasks.withType()) } - tasks.withType { - dependsOn( - ":iOSLibs:buildIOHKCryptoKitIphoneos", - ":iOSLibs:buildIOHKCryptoKitIphonesimulator", - ":iOSLibs:buildIOHKCryptoKitMacosx", - ":iOSLibs:buildIOHKSecureRandomGenerationIphoneos", - ":iOSLibs:buildIOHKSecureRandomGenerationIphonesimulator", - ":iOSLibs:buildIOHKSecureRandomGenerationMacosx" - ) - } - tasks.withType { - dependsOn( - ":iOSLibs:buildIOHKCryptoKitIphoneos", - ":iOSLibs:buildIOHKCryptoKitIphonesimulator", - ":iOSLibs:buildIOHKCryptoKitMacosx", - ":iOSLibs:buildIOHKSecureRandomGenerationIphoneos", - ":iOSLibs:buildIOHKSecureRandomGenerationIphonesimulator", - ":iOSLibs:buildIOHKSecureRandomGenerationMacosx" - ) - } - tasks.withType { - dependsOn( - ":iOSLibs:buildIOHKCryptoKitIphoneos", - ":iOSLibs:buildIOHKCryptoKitIphonesimulator", - ":iOSLibs:buildIOHKCryptoKitMacosx", - ":iOSLibs:buildIOHKSecureRandomGenerationIphoneos", - ":iOSLibs:buildIOHKSecureRandomGenerationIphonesimulator", - ":iOSLibs:buildIOHKSecureRandomGenerationMacosx" - ) - } - // Disable publish of targets if (tasks.findByName("publishIosX64PublicationToSonatypeRepository") != null) { tasks.named("publishIosX64PublicationToSonatypeRepository") {