Source JAR with Buck's android_prebuilt_aar

212 Views Asked by At

I'm adding a dependency on a AAR file and would like to also specify a source JAR so I can browse the sources in a IDE.

With prebuilt_jar I can specify a source_jar.

However android_prebuilt_aar doesn't seem to have this option:

android_prebuilt_aar(
  name = 'android-support-v4',
  aar = 'support-v4-22.1.1.aar',
  source_jar = 'support-v4-22.1.1-sources.jar',
  visibility = [
    'PUBLIC',
  ],
)

> TypeError: android_prebuilt_aar() got an unexpected keyword argument 'source_jar'
0

There are 0 best solutions below