From dc3780b5ac9046bf9183f1d53438ea484f6d44e6 Mon Sep 17 00:00:00 2001 From: Edouard Tisserant Date: Wed, 7 Oct 2015 17:11:24 +0200 Subject: [PATCH] Android : Ensure assets are populated _before_ packaging theme into aar. --- android/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 7b945c8..2d13518 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,7 +22,7 @@ buildscript { } } -apply plugin: 'com.android.library' +apply plugin: 'android-library' android { compileSdkVersion 21 @@ -131,6 +131,8 @@ android { compileTask -> compileTask.dependsOn jniBuild } + assemble.dependsOn unzipDeps + task cleanNative(type: Exec) { commandLine getNdkBuildCmd(), 'clean' }