Skip to content

Instantly share code, notes, and snippets.

@Goddchen
Created May 17, 2013 16:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Goddchen/5600345 to your computer and use it in GitHub Desktop.
Save Goddchen/5600345 to your computer and use it in GitHub Desktop.
Gradle build file for Eclipse projects in Android Studio (as created by the Eclipse File->Export feature)
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.4'
}
}
apply plugin: 'android'
dependencies {
}
android {
compileSdkVersion 16
buildToolsVersion "16"
defaultConfig {
minSdkVersion 5
targetSdkVersion 8
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
instrumentTest.setRoot('tests')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment