[build] Added gradle build script
This commit is contained in:
parent
ba328f7cb9
commit
d78358d936
2 changed files with 29 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,7 +1,9 @@
|
|||
bin/
|
||||
gen/
|
||||
build/
|
||||
.settings/
|
||||
|
||||
.DS_Store
|
||||
.classpath
|
||||
.cproject
|
||||
.project
|
||||
|
|
27
lib/build.gradle
Normal file
27
lib/build.gradle
Normal 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')
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue