This repository was archived by the owner on Jun 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed
androidx.multidex/multidex Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,14 @@ Task("binderate")
99
99
100
100
StartProcess ( "dotnet" , "./util/binderator/android-binderator.dll --config=\" "
101
101
+ MakeAbsolute ( configFile ) . FullPath + "\" --basepath=\" " + MakeAbsolute ( basePath ) . FullPath + "\" " ) ;
102
+
103
+ // format the targets file so they are pretty in the package
104
+ var targetsFiles = GetFiles ( "generated/**/*.targets" ) ;
105
+ var xmlns = ( XNamespace ) "http://schemas.microsoft.com/developer/msbuild/2003" ;
106
+ foreach ( var targets in targetsFiles ) {
107
+ var xdoc = XDocument . Load ( targets . FullPath ) ;
108
+ xdoc . Save ( targets . FullPath ) ;
109
+ }
102
110
} ) ;
103
111
104
112
Task ( "libs" )
Original file line number Diff line number Diff line change 1
1
@using System .Linq
2
2
<Project Sdk =" Microsoft.NET.Sdk" >
3
3
<PropertyGroup >
4
- <TargetFrameworks >MonoAndroid90</TargetFrameworks >
4
+ <TargetFramework >MonoAndroid90</TargetFramework >
5
5
<IsBindingProject >true</IsBindingProject >
6
6
@if (! string .IsNullOrEmpty (Model .AssemblyName )) {
7
7
< AssemblyName > @(Model .AssemblyName )< / AssemblyName >
Original file line number Diff line number Diff line change 21
21
< ItemGroup >
22
22
@foreach (var art in @Model .MavenArtifacts ) {
23
23
if (art .ProguardFile != null ) {
24
- < ProguardConfiguration Include = " $(MSBuildThisFileDirectory)..\p roguard\p roguard.txt" >
24
+ < ProguardConfiguration Include = " $(MSBuildThisFileDirectory)..\. . \ p roguard\p roguard.txt" >
25
25
< AndroidXSkipAndroidXMigration > true < / AndroidXSkipAndroidXMigration >
26
26
< / ProguardConfiguration >
27
27
}
37
37
}
38
38
39
39
if (art .MavenArtifactPackaging == " aar" ) {
40
- < AndroidAarLibrary Include = " $(MSBuildThisFileDirectory)..\a ar\@ (art.MavenGroupId).@(art.MavenArtifactId).aar" >
40
+ < AndroidAarLibrary Include = " $(MSBuildThisFileDirectory)..\. . \ a ar\@ (art.MavenGroupId).@(art.MavenArtifactId).aar" >
41
41
< AndroidXSkipAndroidXMigration > true < / AndroidXSkipAndroidXMigration >
42
42
< / AndroidAarLibrary >
43
43
} else {
44
- < AndroidJavaLibrary Include = " $(MSBuildThisFileDirectory)..\j ar\@ (art.MavenGroupId).@(art.MavenArtifactId).jar" >
44
+ < AndroidJavaLibrary Include = " $(MSBuildThisFileDirectory)..\. . \ j ar\@ (art.MavenGroupId).@(art.MavenArtifactId).jar" >
45
45
< AndroidXSkipAndroidXMigration > true < / AndroidXSkipAndroidXMigration >
46
46
< / AndroidJavaLibrary >
47
47
}
Original file line number Diff line number Diff line change 6
6
</PropertyGroup >
7
7
8
8
<ItemGroup Condition =" '$(AndroidEnableMultiDex)' == 'true'" >
9
- <AndroidAarLibrary Include =" $(MSBuildThisFileDirectory)..\aar\androidx.multidex.multidex.aar" >
9
+ <AndroidAarLibrary Include =" $(MSBuildThisFileDirectory)..\..\ aar\androidx.multidex.multidex.aar" >
10
10
<AndroidXSkipAndroidXMigration >true</AndroidXSkipAndroidXMigration >
11
11
</AndroidAarLibrary >
12
12
</ItemGroup >
You can’t perform that action at this time.
0 commit comments