Граф коммитов

748 Коммитов

Автор SHA1 Сообщение Дата
moljac ff477e8e86 binderator green 2024-11-07 16:11:05 +01:00
moljac 8441a032a8 binderator green 2024-11-03 21:55:22 +01:00
moljac a3a4b74582 glide aligned and avif bumped 2024-10-26 23:41:08 +02:00
moljac 37552a7a72
Merge branch 'main' into wsu-20241025 2024-10-26 21:42:06 +02:00
moljac 936bbce448 binderator green 2024-10-26 21:40:20 +02:00
Jonathan Pobst ee4d52ee08
Clean up 'config.json'. (#1026)
Clean up `config.json`:
- Remove default `dependencyOnly: false` as we only change it for 6 artifacts.
- Move template details to `"default"` `TemplateSet`.
- Add comments for `dependencyOnly: true` artifacts.
- Don't look for dependency versions in the GPS `config.json`.
2024-10-26 08:26:41 -10:00
Jonathan Pobst 95353f9c31
Remove `no-bindings` template in favor of `no-bindings` package type. (#1016)
Remove the final custom template, replacing the `no-bindings` template with the `no-bindings` package type.
2024-10-25 07:28:42 -10:00
moljac e5dcce7529
Fix GRPC NuGet versions 2024-10-22 16:01:20 -10:00
moljac 5fc55fdceb
Merge branch 'main' into wsu-20241018 2024-10-21 22:40:05 +02:00
Jonathan Pobst 98812b8c57
[build.cake] Break up into multiple files and remove obsolete targets. (#1017)
Break up `build.cake` functionality into smaller files instead of having one massive file.  By moving the stuff we still use into separate files, we can easily remove the remaining obsolete stuff from the main file (XA Classic, AndroidSupport, etc.).

This should also fix https://github.com/xamarin/AndroidX/issues/1015, assuming those errors messages are from `cake`.

Additionally, move the `"binderate-config-verify"` task logic to `binderator`.  There was an issue with existing logic causing it to miss that `androidx.wear.wear-input` had mismatching Java (`1.1.0`) and NuGet (`1.0.0.19`) versions.  Fix that as well.
2024-10-21 07:43:19 -10:00
moljac 0aeb85aa80 AOMedia AVIF update (manual) + Glide bumps 2024-10-20 13:59:30 +02:00
moljac ac4913bdc5 binderator green 2024-10-18 23:50:59 +02:00
Jonathan Pobst 32ce401ba8
[binderator] Add check to ensure we use Xamarin.Build.Download for proprietary licensed artifacts. (#1007)
Update `binderator` to enforce that Java libraries with proprietary licenses are packaged using the `Xamarin.Build.Download` method.

Unfreeze `Xamarin.Google.Android.InstallReferrer` and bind newer versions that are no longer Apache licensed using `"type": "xbd"`.

Additionally, this check found 2 other libraries that are proprietary licensed and should be bound using the `Xamarin.Build.Download` method.  They are updated as well.
2024-10-17 08:00:43 -10:00
moljac ff8f299871
Merge branch 'main' into mu-20241011-glide-avif-support 2024-10-15 21:40:25 +02:00
moljac a830f60c11 fixes according to review 2024-10-15 14:07:48 +02:00
moljac 9d997791c1 typo fix according to review 2024-10-15 00:05:02 +02:00
moljac 1a230aba91 packaging nuget version fixed 2024-10-13 20:38:15 +02:00
moljac 93296d8995
Merge branch 'main' into wsu-20241011-weekly-stable-updates 2024-10-11 22:21:49 +02:00
moljac 88efffb99f binderator green 2024-10-11 22:17:40 +02:00
moljac 5449d07a4a
Merge branch 'main' into mu-20241011-glide-avif-support 2024-10-11 22:16:56 +02:00
Jonathan Pobst 6b545bc4b8
[binderator] Add support for licenses specified in parent POMs. (#1004)
Add support in `binderator` for finding licensing information that is specified in parent POM files.  This allows us to remove all of the hardcoded `overrideLicenses` info currently in `config.json`.
2024-10-11 07:20:12 -10:00
Jonathan Pobst 7e9a642d61
Don't make a NuGet package for binderator. (#1005)
We no longer use `binderator` outside of this repository.  Stop building a NuGet package and running package diffs on it to help remove some noise in the diff reports.
2024-10-11 07:19:45 -10:00
moljac 15e2639f83 binderator green 2024-10-11 19:14:09 +02:00
moljac 8e699e0398 reverting "dependencyOnly": true unneeded bumps 2024-10-11 09:33:18 +02:00
moljac 3ea9389901 Update config.json 2024-10-11 08:52:06 +02:00
Jonathan Pobst 026127677e
Add support for specifying skipping extended tests in config.json. (#1002)
- Add `"skipExtendedTests"` to `config.json`.  When set to `true`, the "extended" tests are not run for this package.  This allows us to get our test job green with the packages that currently work.  This way we can go ahead and have it running for currently working packages to ensure they do not regress.
- Set up a "nightly" job that will run the "extended" test suite every night.  Note that this will only run if there have been changes to `main` since the previous run, so it generally won't actually run every night.
2024-10-09 08:02:33 -10:00
Jonathan Pobst 4b846d7bd5
Convert `gps` template to `xbd` project type. (#983)
Convert `gps` template to the unified template.

- This introduces a new `xbd` package type, which creates packages that use `Xamarin.Build.Download` to download a proprietary Java package.
- Refactors the package types (`androidlibrary`, `targets`, `xdb`, `no-bindings`) into partial Razor files to help make it clear which parts are not shared.
- Refactors all package-specific customizations that exist in the `.csproj` to a dedicated `_PackageLevelCustomizations.cshtml` partial file.
2024-10-08 07:48:06 -10:00
moljac 051eb95473 update error fix according to review 2024-10-07 21:13:48 +02:00
moljac b1945d3d5b binderator green 2024-10-04 13:07:39 +02:00
Jonathan Pobst ead979fd77
Remove KotlinX per-package template in favor of the unified template. (#981)
Notes:

- This changes the previous `.jar + .targets` behavior to the updated `dotnet` "`.jar/.aar` next to the `.dll`" method.
2024-09-30 14:46:01 -10:00
Jonathan Pobst d7d155df38
Remove Kotlin per-package template in favor of the unified template. (#980)
Notes:

- This changes the previous `.jar + .targets` behavior to the updated `dotnet` "`.jar/.aar` next to the `.dll`" method.
- The transforms and additions were in folders using the NuGet name, they had to be moved to the standard `groupid/artifactid` names.
2024-09-30 09:38:44 -10:00
moljac 87b430782e binderator green 2024-09-30 09:45:54 +02:00
Jonathan Pobst 711a6578e6
Remove Glide per-package template in favor of the unified template. (#978)
Note this changes the previous `.jar + .targets` behavior to the updated `dotnet` "`.jar/.aar` next to the `.dll`" method.
2024-09-26 08:43:00 -10:00
Jonathan Pobst 93a0bbae28
Remove Guava per-package template in favor of the unified template. (#979)
Note this changes the previous `.jar + .targets` behavior to the updated `dotnet` "`.jar/.aar` next to the `.dll`" method.

As part of this we do lose the `$(XamarinGoogleGuavaOptOut)` opt-out we had previously added.

Given that this was added to help with broken Guava packages published before April 2022, this property should no longer be needed:

https://github.com/xamarin/XamarinComponents/pull/1366
2024-09-26 07:30:40 -10:00
Jonathan Pobst 7a3d11fbed
Remove InstallReferrer per-package template in favor of the unified template. (#982) 2024-09-26 07:30:07 -10:00
moljac 32c08e213f fixes according to review 2024-09-23 21:33:07 +02:00
moljac e3d996ea73 grpc downgraded 2024-09-22 16:48:41 +02:00
moljac f02e39daf2 binderator green 2024-09-20 22:37:33 +02:00
Jonathan Pobst c9fd36fa1c
Alignment bump for full AndroidX+GPS packages. (#966) 2024-09-14 07:57:41 -10:00
Jonathan Pobst 8d465e83de
Move remaining GPS packages to AndroidX repository. (#955)
"Pause" migrating everything to a common template, and pivot to moving the remaining packages from the GPS repository to the AndroidX repository.  This should enable us to eliminate the circular dependencies between the two repositories which should help fix the majority of the https://github.com/xamarin/AndroidX/issues/764 issues going forward.

Bring in the GPS and Glide templates as new "templateSet", and merge in all the build infrastructure pieces that the GPS repository had to make it build correctly.
2024-09-13 07:22:56 -10:00
moljac c7b75f6cc5 nuget id fix 2024-09-07 17:35:20 +02:00
moljac 8dffcae4bc binderator green 2024-09-07 13:59:25 +02:00
Jonathan Pobst 558552190f
Move second batch of GPS package-specific templates to AndroidX default template. (#950)
Move the packages in GPS that use the following package-specific templates to this repository and switch them to using the default template:

- brotli
- chromium-cronet
- codehaus-mojo
- datatransport
- flatbuffers
- grpc
- opencensus
- perfmark
- protobuf-lite
- squareup-okhttp
- squareup-okhttp3
- squareup-picasso
- squareup-retrofit
- squareup-retrofit2
- squareup-okio
- squareup-javapoet
- tensorflow-lite
- user-messaging-platform
- zxing

One wrinkle is that AndroidX does not allow a stable package to depend on a prerelease package:

```xml
<!-- Warnings we want to error on: -->
<!-- NU5104: A stable release of a package should not have a prerelease dependency. -->
<WarningsAsErrors>$(WarningsAsErrors);NU5104</WarningsAsErrors>
```

Although we should always abide by this rule, we are bound by Google's packaging decisions and sometimes we have no choice.  The `Xamarin.TensorFlow.Lite.Support.Api` and `Xamarin.TensorFlow.Lite.Task.Vision.PlayServices.Library` packages we are moving from GPS have a prerelease dependency. (GPS repository does not enforce this rule.)

In order to keep this rule globally, but allow packages to opt out of it, add the `allowPrereleaseDependencies` artifact-level field to `config.json`:

```json
{
    "groupId": "org.tensorflow",
    "artifactId": "tensorflow-lite-task-vision-play-services",
    "version": "0.4.4",
    "nugetVersion": "0.4.4.6",
    "nugetId": "Xamarin.TensorFlow.Lite.Task.Vision.PlayServices.Library",
    "allowPrereleaseDependencies": true,
    "comments": "Depends on Xamarin.Google.Android.ODML.Image which only has a prerelease version.",
    ...
}
```

Companion PR that removes these packages from GPS: https://github.com/xamarin/GooglePlayServicesComponents/pull/906
2024-09-05 08:33:33 -10:00
Jonathan Pobst e12f2f02bd
Move first batch of GPS package-specific templates to AndroidX default template. (#947)
Move the packages in GPS that use the following package-specific templates to this repository and switch them to using the default template:

- annotations
- aopalliance
- dagger
- errorprone
- findbugs
- inject-guice
- jakarta
- javax-inject
- ow2-asm

Companion PR that removes them from GPS: https://github.com/xamarin/GooglePlayServicesComponents/pull/905
2024-09-04 07:15:13 -10:00
moljac 3d5b653004
Merge branch 'main' into mu-20240820 2024-08-30 14:16:24 +02:00
moljac 3fa14f0e8d final fix 2024-08-30 14:08:06 +02:00
moljac cb994487bf binderagtor green 2024-08-28 12:29:36 +02:00
moljac 6838af43e2 binderator green 2024-08-27 09:03:22 +02:00
Jonathan Pobst d126bba06d
Track latest versions of GPS dependencies. (#946) 2024-08-23 07:09:39 -10:00
Jonathan Pobst ac1f49730b
Remove some package-specific templates. (#943)
Remove the following package-specific templates in favor of using the default template:

- accompanist
- antmedia-rtpm-client
- auto-value
- dev-chrisbanes-snapper
- flogger
- napier
- reactive-streams
- rxjava
- tink

Additionally, the `Xamarin.Android.ReactiveX.RxJava` NuGet package was relying on a `<JavaSourceJar>` for some parameter names.  

Add the artifact-level `documentationType` field to `config.json` that can be specified if a `<JavaSourceJar>` or `<JavaDocJar>` is needed.  The default value is `none`, the values `javasource` and `javadoc` are supported.
2024-08-22 19:10:43 -10:00