mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
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:
parent
0d340e1b2f
commit
0ede8b3796
1 changed files with 5 additions and 0 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue