self.gradle revision a211294e1caba648822d11f8935593b6ca2b9279
1/** 2 * This self.gradle build file is only run when built in ub-setupwizard-* branches. 3 */ 4 5apply plugin: 'dist' 6 7apply from: 'build.gradle' 8apply from: '../tools/gradle/docs.gradle' 9 10task docs(dependsOn: 'javadocPlatformRelease') 11 12// Output all test APKs to the distribution folder 13def distTask = tasks.findByName('dist'); 14if (distTask) { 15 android.testVariants.all { variant -> 16 // Make the dist task depend on the test variant, so the test APK will be built 17 distTask.dependsOn variant.assemble 18 // TODO: remap the different test variants to different file names 19 } 20} 21