build.gradle 900 B

12345678910111213141516171819202122232425262728293031
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'org.greenrobot.greendao'
  3. android {
  4. compileSdkVersion ANDROID_COMPILE_SDK_VERSION as int
  5. defaultConfig {
  6. minSdkVersion ANDROID_MIN_SDK_VERSION as int
  7. targetSdkVersion ANDORID_TARGET_SDK_VERSION as int
  8. versionCode VERSION_CODE as int
  9. versionName VERSION_NAME
  10. }
  11. greendao {
  12. schemaVersion 10
  13. targetGenDir 'src/main/java'
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. }
  22. dependencies {
  23. compile "com.android.support:support-v4:$supportLibVersion"
  24. compile 'org.greenrobot:greendao:3.2.2'
  25. }
  26. // uploadArchive only arr and eclipse
  27. //apply from: "https://github.com/sinlov/Gradle_Zoo/raw/master/android-local/local-archives-only-arr-eclipse.gradle"