build.gradle 535 B

1234567891011121314151617181920212223242526272829
  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. }
  5. dependencies {
  6. classpath 'com.android.tools.build:gradle:1.2.3'
  7. }
  8. }
  9. apply plugin: 'android-library'
  10. android {
  11. compileSdkVersion 22
  12. buildToolsVersion "22.0.1"
  13. defaultConfig {
  14. minSdkVersion 8
  15. targetSdkVersion 22
  16. }
  17. sourceSets.main {
  18. manifest.srcFile 'AndroidManifest.xml'
  19. java.srcDirs = ['src']
  20. resources.srcDirs = ['src']
  21. res.srcDirs = ['res']
  22. jniLibs.srcDirs = ['libs']
  23. }
  24. }