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/support
directory. - Run
./gradlew createArchive
. - This should create
../../out/androidx/build/support_repo
(i.e. in theout
subdirectory ofandroidx-main
). - To create zip of maven artifacts:
a.
cd out/androidx/build/support_repo
a.zip -r ~/m2repo androidx/health/health-services-client
- Unzip this file into e.g.
/tmp
: a.cd /tmp
a.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
.)