parse-community / Parse-SDK-Android

The Android SDK for Parse Platform
https://parseplatform.org/
Other
1.88k stars 739 forks source link

ci: add API docs workflow #1110

Closed mtrezza closed 2 years ago

mtrezza commented 2 years ago

javadoc generation when pushing to master branch

related: https://github.com/parse-community/Parse-SDK-Android/issues/1059

mtrezza commented 2 years ago

Locally javadoc gen currently fails with:

> Task :gcm:generateReleaseRFile FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':gcm:generateReleaseRFile'.
> Could not resolve all files for configuration ':gcm:releaseCompileClasspath'.
   > Could not find com.firebase:firebase-jobdispatcher:0.8.6.
     Required by:
         project :gcm

But it builds after removing GCM module; let's try again after https://github.com/parse-community/Parse-SDK-Android/pull/1091

codecov[bot] commented 2 years ago

Codecov Report

Merging #1110 (9060169) into master (aa16bcf) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1110   +/-   ##
=========================================
  Coverage     65.06%   65.06%           
  Complexity     2208     2208           
=========================================
  Files           122      122           
  Lines          9463     9463           
  Branches       1317     1317           
=========================================
  Hits           6157     6157           
  Misses         2799     2799           
  Partials        507      507           

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 aa16bcf...9060169. Read the comment docs.

azlekov commented 2 years ago

@mtrezza

> Task :gcm:generateReleaseRFile FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':gcm:generateReleaseRFile'.
> Could not resolve all files for configuration ':gcm:releaseCompileClasspath'.
   > Could not find com.firebase:firebase-jobdispatcher:0.8.6.
     Required by:
         project :gcm

Failed because this dependency is available only on the deprecated JCenter repository. You can bring it back in order to have this proceed. https://mvnrepository.com/artifact/com.firebase/firebase-jobdispatcher/0.8.6

Just add:

jcenter() to the repositories blocks inside the root build.gradle

image
mtrezza commented 2 years ago

It works locally after removing the GCM, so I‘ll just wait for the other PR to get merged.