playback/player/android: Force externalNativeBuild before Java building

This is needed so that we copy over the Java files from gst-android that
include the GStreamer class which is used while compiling app.
This commit is contained in:
Arun Raghavan 2017-01-02 11:12:19 +05:30
parent 0d340e1b2f
commit 0ede8b3796

View file

@ -45,6 +45,11 @@ android {
} }
} }
afterEvaluate {
compileDebugJavaWithJavac.dependsOn 'externalNativeBuildDebug'
compileReleaseJavaWithJavac.dependsOn 'externalNativeBuildRelease'
}
dependencies { dependencies {
compile fileTree(dir: 'libs', include: ['*.jar']) compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12' testCompile 'junit:junit:4.12'