Merge pull request #6 from dkunin-me/dev

[build] Added gradle build script
This commit is contained in:
Viktor Govako 2013-09-10 05:38:19 -07:00
commit 9f9b14bb97
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')
}
}