health-samples
health-samples copied to clipboard
Update to match beta release
Incomplete, do not merge!
@garanj perhaps you could have a light look over this and see if there are any larger/architectural things that could be improved? There's some obvious things that need to be changed before the actual release, like the path to the beta location.
FYI @sarahamilton @breanatate
To build from AOSP:
- Download source code as described here.
- Change into the
frameworks/supportdirectory. - Run
./gradlew createArchive. - This should create
../../out/androidx/build/support_repo(i.e. in theoutsubdirectory ofandroidx-main). - To create zip of maven artifacts:
a.
cd out/androidx/build/support_repoa.zip -r ~/m2repo androidx/health/health-services-client - Unzip this file into e.g.
/tmp: a.cd /tmpa.unzip ~/m2repo - Add this directory to the
maven { url … }stanza inbuild.gradle, e.g.:
allprojects {
repositories {
maven { url("/tmp/m2repo") }
google()
mavenCentral()
}
}
(To resync to head, run repo sync.)