1// Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3buildscript { 4 5 repositories { 6 google() 7 jcenter() 8 } 9 dependencies { 10 classpath 'com.android.tools.build:gradle:3.1.3' 11 12 13 // NOTE: Do not place your application dependencies here; they belong 14 // in the individual module build.gradle files 15 } 16} 17 18allprojects { 19 repositories { 20 google() 21 jcenter() 22 } 23} 24 25task clean(type: Delete) { 26 delete rootProject.buildDir 27} 28 29task createZip(type: Zip) { 30 from('app/build/intermediates/cmake/release/obj') { 31 include('*/libandroidgamesdk.so') 32 into('android') 33 } 34 from('../../includes/swappy') { 35 include('swappy.h') 36 into('include') 37 } 38 archiveName 'builds.zip' 39 dependsOn('app:externalNativeBuildRelease') 40} 41