Skip to content

Commit db6e658

Browse files
Review feedback
1 parent eb25c6e commit db6e658

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,10 @@
145145
</Target>
146146

147147
<Target Name="ResolveSentryNativeNdkFromLocalMaven" BeforeTargets="CollectPackageReferences" Condition="'$(UseLocalSentryMavenRepo)' == 'true'">
148-
<PropertyGroup>
149-
<_LocalAndroidNdkPom>$(LocalSentryMavenRepoDir)io/sentry/sentry-android-ndk/$(SentryAndroidSdkVersion)/sentry-android-ndk-$(SentryAndroidSdkVersion).pom</_LocalAndroidNdkPom>
150-
</PropertyGroup>
151-
152148
<XmlPeek
153-
XmlInputPath="$(_LocalAndroidNdkPom)"
149+
XmlInputPath="$(LocalSentryAndroidNdkPomPath)"
154150
Query="//*[local-name()='dependency' and .//*[local-name()='artifactId' and text()='sentry-native-ndk']]/*[local-name()='version']/text()"
155-
Condition="Exists('$(_LocalAndroidNdkPom)')">
151+
Condition="Exists('$(LocalSentryAndroidNdkPomPath)')">
156152
<Output TaskParameter="Result" PropertyName="SentryNativeNdkVersion" />
157153
</XmlPeek>
158154

0 commit comments

Comments
 (0)