Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit f739b52

Browse files
committed
Do not package support-annotations.jar into app
This is only needed for app compilation (so that javac can reference the annotations when compiling), not needed in the actual app.
1 parent af44208 commit f739b52

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

support-annotations/source/Properties/AssemblyInfo.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System.Reflection;
22
using System.Runtime.CompilerServices;
33
using Android.App;
4+
using Java.Interop;
45

56
// Information about this assembly is defined by the following attributes.
67
// Change them to the values specific to your project.
@@ -25,3 +26,7 @@
2526

2627
//[assembly: AssemblyDelaySign(false)]
2728
//[assembly: AssemblyKeyFile("")]
29+
30+
// This is needed for compiling javac in apps, but the actual lib is not needed in the app itself
31+
// only for the compilation stage, so we don't need to actually package it in the app
32+
[assembly: DoNotPackage ("support-annotations.jar")]

0 commit comments

Comments
 (0)