From 13619960f2566eadd34b242e3b81f5e781ab33d0 Mon Sep 17 00:00:00 2001 From: Trevor Johns Date: Fri, 8 Aug 2014 18:49:32 -0700 Subject: Remove managed build.gradle files These build files are managed by a template and shouldn't be checked in. This is normally harmless, but can prevent the build system from applying global changes if a dependency breaks. Change-Id: I5d0ab1bf2244659172fa8c29957d227abbc4d886 --- .../BasicRenderScriptSample/build.gradle | 67 ---------------------- 1 file changed, 67 deletions(-) delete mode 100644 renderScript/BasicRenderScript/BasicRenderScriptSample/build.gradle (limited to 'renderScript') diff --git a/renderScript/BasicRenderScript/BasicRenderScriptSample/build.gradle b/renderScript/BasicRenderScript/BasicRenderScriptSample/build.gradle deleted file mode 100644 index 51b4557a..00000000 --- a/renderScript/BasicRenderScript/BasicRenderScriptSample/build.gradle +++ /dev/null @@ -1,67 +0,0 @@ - - - -buildscript { - repositories { - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:0.8.+' - } -} - -apply plugin: 'android' - -dependencies { - // Add the support lib that is appropriate for SDK 8 - compile "com.android.support:support-v4:19.0.+" - compile "com.android.support:gridlayout-v7:19.0.+" - compile files('renderscript-v8.jar') -} - -// The sample build uses multiple directories to -// keep boilerplate and common code separate from -// the main sample code. -List dirs = [ - 'main', // main sample code; look here for the interesting stuff. - 'common', // components that are reused by multiple samples - 'template'] // boilerplate code that is generated by the sample template process - -android { - compileSdkVersion 19 - buildToolsVersion "19.0.1" - - sourceSets { - main { - dirs.each { dir -> - java.srcDirs "src/${dir}/java" - res.srcDirs "src/${dir}/res" - } - } - instrumentTest.setRoot('tests') - instrumentTest.java.srcDirs = ['tests/src'] - - defaultConfig { - - renderscriptTargetApi 18 - renderscriptSupportMode true - - } - } -} -// BEGIN_EXCLUDE -// Tasks below this line will be hidden from release output - -task preflight (dependsOn: parent.preflight) { - project.afterEvaluate { - // Inject a preflight task into each variant so we have a place to hook tasks - // that need to run before any of the android build tasks. - // - android.applicationVariants.each { variant -> - tasks.getByPath("prepare${variant.name.capitalize()}Dependencies").dependsOn preflight - } - } -} - -// END_EXCLUDE -- cgit v1.2.3