1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

[.NET] Fix gradle builds for multiple ABIs

Include the needed .NET jar in the Godot templates so it's always available, then we don't need to include the jar from a .NET publish which could fail when exporting to multiple architectures because it would attempt to add the same jar for each architecture.
This commit is contained in:
Raul Santos
2024-12-13 08:01:13 +01:00
parent ba2c5c1e61
commit d526d523b4
3 changed files with 13 additions and 6 deletions

View File

@@ -70,10 +70,7 @@ dependencies {
}
// .NET dependencies
String jar = '../../../../modules/mono/thirdparty/libSystem.Security.Cryptography.Native.Android.jar'
if (file(jar).exists()) {
monoImplementation files(jar)
}
monoImplementation fileTree(dir: 'monoLibs', include: ['*.jar'])
}
android {