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

Commit 3e46e3c

Browse files
committed
Use full path to downloaded artifacts
Avoids .jar name collisions
1 parent 68e0ea0 commit 3e46e3c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[{
22
"mavenRepositoryType" : "Google",
33
"slnFile" : "generated/AndroidSupport.sln",
4+
"downloadExternalsWithFullName" : true,
45
"additionalProjects": [
56
"source/buildtasks/support-annotations/Support-Annotations-BuildTasks.csproj",
67
"source/buildtasks/support-annotations-tests/Support-Annotations-BuildTasks-Tests.csproj",

source/AndroidSupportProject.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<ItemGroup>
7474
@foreach (var art in @Model.MavenArtifacts) {
7575
if (art.MavenArtifactPackaging == "aar") {
76-
<LibraryProjectZip Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).aar" />
76+
<LibraryProjectZip Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenGroupId).@(art.MavenArtifactId).aar" />
7777
}
7878
}
7979
</ItemGroup>
@@ -119,7 +119,7 @@
119119
Include="..\..\externals\@(art.MavenGroupId).@(art.MavenArtifactId)\libs\*.jar"
120120
/>
121121
} else {
122-
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" />
122+
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenGroupId).@(art.MavenArtifactId).jar" />
123123
}
124124
}
125125
</ItemGroup>

0 commit comments

Comments
 (0)