Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: drop abandoned com.github.dcendents:android-maven-gradle-plugin #1252

Merged
merged 4 commits into from Jul 6, 2021

Conversation

erisu
Copy link
Member

@erisu erisu commented Jul 2, 2021

Motivation, Context & Description

  • Drop .github.dcendents:android-maven-gradle-plugin which has been abandonded because maven-publish-plugin is supported by the Android Gradle Plugin 3.6.0 and higher
  • Update the publishing definition to support publishing to maven
  • Fixed the gradle build failure due to missing useAndroidX flag. The build is needed to create an aar release artifact that is bundled with the publish.

This PR requires #1251 to be merged in first.

You can see commit: 2338bc6
If you want to see only the changes of this PR.

Testing

  • npm t
  • Publishing package has not been tested yet.

Checklist

  • I've run the tests to see all new and existing tests pass

@codecov-commenter
Copy link

codecov-commenter commented Jul 2, 2021

Codecov Report

Merging #1252 (fa23fef) into master (510596f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1252   +/-   ##
=======================================
  Coverage   71.08%   71.08%           
=======================================
  Files          22       22           
  Lines        1705     1705           
=======================================
  Hits         1212     1212           
  Misses        493      493           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 510596f...fa23fef. Read the comment docs.

@erisu erisu force-pushed the feat/drop-abandon-maven-plugin branch 2 times, most recently from a9b4e8e to 4ac2a2d Compare July 2, 2021 08:59
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a few comments, most of them related to putting mavenCentral on top of google as mavenCentral has had problems in the past finding google packages, so I think having google on top is preferred.
And the other one is about a typo.

I don't really have much experience publishing to maven, so not sure if the changes are ok.

bin/templates/cordova/lib/plugin-build.gradle Outdated Show resolved Hide resolved
bin/templates/project/app/repositories.gradle Outdated Show resolved Hide resolved
bin/templates/project/repositories.gradle Outdated Show resolved Hide resolved
framework/build.gradle Outdated Show resolved Hide resolved
framework/cordova.gradle Outdated Show resolved Hide resolved
spec/fixtures/android_studio_project/build.gradle Outdated Show resolved Hide resolved
spec/fixtures/android_studio_project/build.gradle Outdated Show resolved Hide resolved
test/androidx/app/build.gradle Outdated Show resolved Hide resolved
test/androidx/build.gradle Outdated Show resolved Hide resolved
test/androidx/build.gradle Outdated Show resolved Hide resolved
@erisu erisu force-pushed the feat/drop-abandon-maven-plugin branch from c4c3be3 to 050e3a3 Compare July 3, 2021 04:04
@erisu erisu marked this pull request as ready for review July 3, 2021 14:50
@erisu erisu force-pushed the feat/drop-abandon-maven-plugin branch from 04c1a45 to fa23fef Compare July 6, 2021 06:41
@erisu erisu merged commit 69b24db into apache:master Jul 6, 2021
@erisu erisu deleted the feat/drop-abandon-maven-plugin branch July 6, 2021 06:57
wedgberto pushed a commit to wedgberto/cordova-android that referenced this pull request May 17, 2022
apache#1252)

* feat: use maven-publish plugin (mavenCentral)
* fix: Apache License url
* fix: framework build failure without useAndroidX
* fix: add aar build artifact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants