Metalava setup
Use $> make check-api / $> make update-api from the Makefile to interact. Make sure to run compile the SDK first so all deps (jars) are available in the classpath and no errors are thrown.
api/current.txt files after running $> make update-api. If there are changes / errors we're 🆗 with (e.g. AddedMethod changes are marked as errors but don't break SemVer) 🚀
$> make update-metalava
sh ./scripts/update_metalava.sh
-n Cloning…
Done
-n Building…
Done
-e
Dependencies:
com.android.tools.external.org-jetbrains:uast:30.3.0-alpha08
com.android.tools.external.com-intellij:kotlin-compiler:30.3.0-alpha08
com.android.tools.external.com-intellij:intellij-core:30.3.0-alpha08
com.android.tools.lint:lint-api:30.3.0-alpha08
com.android.tools.lint:lint-checks:30.3.0-alpha08
com.android.tools.lint:lint-gradle:30.3.0-alpha08
com.android.tools.lint:lint:30.3.0-alpha08
com.android.tools:common:30.3.0-alpha08
com.android.tools:sdk-common:30.3.0-alpha08
com.android.tools:sdklib:30.3.0-alpha08
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10
org.jetbrains.kotlin:kotlin-reflect:1.8.10
org.ow2.asm:asm:8.0
org.ow2.asm:asm-tree:8.0
com.google.guava:guava:30.1.1-jre
- That places the latest
metalava.jarinto this folder and prints out its deps 👀
// Metalava isn't released yet. Check in its jar and explicitly track its transitive deps.- Copy and paste (update) the new deps into
gradle/metalava.gradle