[build] Added gradle build script

This commit is contained in:
d-kunin 2013-09-09 13:27:58 +03:00
parent ba328f7cb9
commit d78358d936
2 changed files with 29 additions and 0 deletions

2
.gitignore vendored
View file

@ -1,7 +1,9 @@
bin/
gen/
build/
.settings/
.DS_Store
.classpath
.cproject
.project

27
lib/build.gradle Normal file
View file

@ -0,0 +1,27 @@
apply plugin: 'android-library'
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}
android {
compileSdkVersion 18
buildToolsVersion "18.0.1"
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')
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}
}