Commit 4c2e36c
authored
[Xamarin.Android.Tools.AndroidSdk] Eclipse Adoptium support (#132)
Context: https://blog.adoptopenjdk.net/2021/03/transition-to-eclipse-an-update/
Context: https://projects.eclipse.org/projects/adoptium
AdoptOpenJDK has moved to the Eclipse foundation, and made three name
changes in the process:
1. The project is now known as Eclipse Adoptium.
2. The macOS installation directory now matches the file glob
`temurin-*.jdk`, not `adoptopenjdk-*.jdk`.
3. The Windows installation directory now installs into e.g.
`%ProgramFiles%\Eclipse Foundation\jdk-*`, not e.g.
`%ProgramFiles%\AdoptOpenJDK\jdk-*`.
Rename `AdoptOpenJdkLocations.cs` to `EclipseAdoptiumJdkLocations.cs`,
and check for *both* the "legacy" AdoptOpenJDK and new
Eclipse Adoptium paths.1 parent eaec4e3 commit 4c2e36c
File tree
3 files changed
+25
-21
lines changed- src/Xamarin.Android.Tools.AndroidSdk
- Jdks
3 files changed
+25
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
| |||
Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments