Summary: We're already building this as dependency via CMake of sonar itself and bundle the resulting `.so` files in there. This project only contains the java files so we can ship them as separate JAR. Importantly, this avoids having to use `pickFirst` as we bundle multiple incompatible `.so` files in both AARs. Closes https://github.com/facebook/Sonar/pull/116 Reviewed By: priteshrnandgaonkar Differential Revision: D8691119 Pulled By: passy fbshipit-source-id: 82303d6c2b5d7e12dcd8f49300090ce8e4570e47
28 lines
669 B
Groovy
28 lines
669 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile './ApplicationManifest.xml'
|
|
java {
|
|
srcDir 'java'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// compileOnly dependencies
|
|
compileOnly deps.jsr305
|
|
compileOnly deps.inferAnnotations
|
|
compileOnly deps.lithoAnnotations
|
|
implementation deps.soloader
|
|
}
|