View gist:a0e67bb800f61dd2b6965ce3b7995585
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pageEvents { builder -> | |
builder.refresh(50..52), | |
} | |
fun pageEvents( | |
val hasRemote: Boolean = false, | |
val block: (builder: PageEventBuilder) -> Unit, | |
): List<PageEvent<Int>> { | |
val builder = PageEventBuilder(hasRemote) | |
block(builder) |
View androidx_latest_snapshot_url.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ID=`curl -s "https://ci.android.com/builds/branches/aosp-androidx-master-dev/status.json" | jq ".targets[] | select(.ID==\"aosp-androidx-master-dev.androidx_snapshot\") | .last_known_good_build"` && echo https://ci.android.com/builds/submitted/"${ID:1:-1}"/androidx_snapshot/latest/repository/ |