Add wasmJs support to androidx
To support, we have to:
* make sure yarn and node binaries can be installed from prebuilts (using ivy to simplify)
* make sure dependencies yarn installed can be fetched from prebuilts (this is were CreateYarnRcTask comes in)
Started adding wasmJs support with annotation project
BUG: 352722444
TESTED: Ran ./gradlew :annotation:annotation:wasmJsTest and it passed (no-op but no crash)
Ran ./gradlew :annotation:annotation:publish and there were artifacts for wasmJs
Change-Id: I7ba6b040e0cda8e22af97b144b5fd81e0b2c40f6
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 2c7725e..751799e 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -61,6 +61,7 @@
metalava = "1.0.0-alpha11"
mockito = "2.25.0"
moshi = "1.13.0"
+node = "16.20.2"
protobuf = "3.22.3"
shadow = "8.1.1"
skiko = "0.7.7"
@@ -70,6 +71,7 @@
wire = "4.9.7"
core = "1.12.0"
xmlApis = "1.4.01"
+yarn = "1.22.17"
[libraries]
agpTestingPlatformCoreProto = { module = "com.google.testing.platform:core-proto", version = "0.0.8-alpha08" }