Add Gradle (simple and for android) Project Configurator
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:0.5.+'
|
||||
}
|
||||
}
|
||||
apply plugin: 'android'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 15
|
||||
buildToolsVersion "17.0"
|
||||
|
||||
buildTypes.debug {
|
||||
zipAlign true
|
||||
}
|
||||
}
|
||||
|
||||
android.applicationVariants.each { variant ->
|
||||
variant.outputFile = file("$project.buildDir/${variant.name}.apk")
|
||||
}
|
||||
Reference in New Issue
Block a user