Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit e754d1a

Browse files
committed
Be more flexible with the paths
1 parent c1e6a0b commit e754d1a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Util/AndroidManifestMerger/build.cake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ Task("tests")
6262
// as ensuring that the target is properly skipped on subsequent builds.
6363

6464
var android = (XNamespace)"http://schemas.android.com/apk/res/android";
65-
var xdoc = XDocument.Load("./samples/FancyMergingApp/obj/Release/android/AndroidManifest.xml");
65+
var files = GetFiles("./samples/FancyMergingApp/obj/Release/**/android/AndroidManifest.xml");
66+
var xdoc = XDocument.Load(files.Single().FullPath);
6667

6768
var serviceName = "com.google.firebase.components.ComponentDiscoveryService";
6869
var services = xdoc

0 commit comments

Comments
 (0)