AndroidX icon indicating copy to clipboard operation
AndroidX copied to clipboard

[DO NOT MERGE] Manual updates 20231012 bindings of previews for internal use

Open moljac opened this issue 2 years ago • 2 comments

Does this change any of the generated binding API's?

Updated bindings for 2 preview artifacts for internal use.

Describe your contribution

Updated bindings.

moljac avatar Oct 12 '23 08:10 moljac

This is attempt to fix issues with DeviceTests on MAUI CI

Context:

  • https://github.com/dotnet/maui/pull/17318

  • https://github.com/dotnet/maui/pull/17793

    • https://github.com/dotnet/maui/pull/17793#issuecomment-1753689058

androidx.viewpager2:viewpager2 is a dependency of com.google.android.material:material and our package policy will not allow having preview package as dependency of stable package.

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <!-- This module was also published with a richer model, Gradle metadata,  -->
  <!-- which should be used instead. Do not delete the following line which  -->
  <!-- is to indicate to Gradle or any Gradle module metadata file consumer  -->
  <!-- that they should prefer consuming it instead. -->
  <!-- do_not_remove: published-with-gradle-metadata -->
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.google.android.material</groupId>
  <artifactId>material</artifactId>
  <version>1.10.0</version>
  <packaging>aar</packaging>
  <name>Material Components for Android</name>
  <description>Material Components for Android is a static library that you can add to your Android application in order to use APIs that provide implementations of the Material Design specification. Compatible on devices running API 14 or later.</description>
  <url>https://github.com/material-components/material-components-android</url>
  <inceptionYear>2015</inceptionYear>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>The Android Open Source Project</name>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:https://github.com/material-components/material-components-android.git</connection>
    <url>https://github.com/material-components/material-components-android</url>
  </scm>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.jetbrains.kotlin</groupId>
        <artifactId>kotlin-bom</artifactId>
        <version>1.8.22</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>androidx.activity</groupId>
      <artifactId>activity</artifactId>
      <version>1.8.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.annotation</groupId>
      <artifactId>annotation</artifactId>
      <version>1.2.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.appcompat</groupId>
      <artifactId>appcompat</artifactId>
      <version>1.6.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.cardview</groupId>
      <artifactId>cardview</artifactId>
      <version>1.0.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.coordinatorlayout</groupId>
      <artifactId>coordinatorlayout</artifactId>
      <version>1.1.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.constraintlayout</groupId>
      <artifactId>constraintlayout</artifactId>
      <version>2.0.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.core</groupId>
      <artifactId>core</artifactId>
      <version>1.6.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.drawerlayout</groupId>
      <artifactId>drawerlayout</artifactId>
      <version>1.1.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.dynamicanimation</groupId>
      <artifactId>dynamicanimation</artifactId>
      <version>1.0.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.annotation</groupId>
      <artifactId>annotation-experimental</artifactId>
      <version>1.0.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.fragment</groupId>
      <artifactId>fragment</artifactId>
      <version>1.2.5</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.lifecycle</groupId>
      <artifactId>lifecycle-runtime</artifactId>
      <version>2.0.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.recyclerview</groupId>
      <artifactId>recyclerview</artifactId>
      <version>1.0.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.resourceinspection</groupId>
      <artifactId>resourceinspection-annotation</artifactId>
      <version>1.0.1</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.transition</groupId>
      <artifactId>transition</artifactId>
      <version>1.2.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.vectordrawable</groupId>
      <artifactId>vectordrawable</artifactId>
      <version>1.1.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>androidx.viewpager2</groupId>
      <artifactId>viewpager2</artifactId>
      <version>1.0.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.google.errorprone</groupId>
      <artifactId>error_prone_annotations</artifactId>
      <version>2.15.0</version>
      <scope>runtime</scope>
    </dependency>
  </dependencies>
</project>

moljac avatar Oct 12 '23 08:10 moljac

/rebase

moljac avatar Oct 12 '23 10:10 moljac

I don't think this PR is needed anymore?

  • androidx.core.core-animation is stable now at 1.0.0
  • androidx.security.security-crypto 1.1.0-alpha06 is already published on NuGet
  • androidx.viewpager2.viewpager2 is stable now at 1.1.0

The stable versions of core-animation and viewpager2 are included in #901.

True, but in #901 Security.Crypto is bumped to 1.1.0.2-alpha06 which was not published yet

moljac avatar Jun 14 '24 18:06 moljac

If we want to publish a 1.1.0.2-alpha06 we can do that. We'll need to have a PR which only changes that one, and publish it directly from the branch.

We should not commit the unstable version to main like #901 does, as that will make all packages that currently depend on the stable 1.0.0 version depend on the unstable version instead.

jpobst avatar Jun 14 '24 18:06 jpobst

Approved for publishing from branch.

jpobst avatar Jun 14 '24 20:06 jpobst