diff options
author | Arun Raghavan <arun@arunraghavan.net> | 2017-01-02 11:12:19 +0530 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2017-01-02 11:21:11 +0530 |
commit | 0ede8b3796ae35cf786fab0a02aea32ae438313a (patch) | |
tree | 889581a5f4008c39b2eb0544548802ff7509ef7f | |
parent | 0d340e1b2f23cb33985a762a42c54a8d108857dc (diff) |
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.
-rw-r--r-- | playback/player/android/app/build.gradle | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/playback/player/android/app/build.gradle b/playback/player/android/app/build.gradle index 15d0ad2..68bdd2d 100644 --- a/playback/player/android/app/build.gradle +++ b/playback/player/android/app/build.gradle @@ -45,6 +45,11 @@ android { } } +afterEvaluate { + compileDebugJavaWithJavac.dependsOn 'externalNativeBuildDebug' + compileReleaseJavaWithJavac.dependsOn 'externalNativeBuildRelease' +} + dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' |