diff --git a/app/build.gradle b/app/build.gradle index 0a3195c..ac9fadc 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -94,6 +94,8 @@ def buildResourcesBundle = tasks.register('buildResourcesBundle', Zip) { from('src/main/jni/httrack/html') { into 'html'; exclude 'Makefile.am' } from('src/main/jni/httrack/templates') { into 'templates'; exclude 'Makefile.am' } from('src/main/bundle/license') { into 'license' } + // html/index.html links to ../license.txt and ../history.txt at the bundle root. + from('src/main/jni/httrack') { include 'license.txt', 'history.txt' } } // preBuild is a transitive ancestor of every resource task, so this one edge gives // them all the dependency on the generated bundle that Gradle's validation requires.