| 12345678910111213141516171819202122232425262728293031323334 |
- apply plugin: 'com.android.library'
- apply plugin: 'org.greenrobot.greendao'
- android {
- compileSdkVersion ANDROID_COMPILE_SDK_VERSION as int
- buildToolsVersion ANDROID_BUILD_TOOLS_VERSION
- defaultConfig {
- minSdkVersion ANDROID_MIN_SDK_VERSION as int
- targetSdkVersion ANDORID_TARGET_SDK_VERSION as int
- versionCode VERSION_CODE as int
- versionName VERSION_NAME
- }
- greendao {
- schemaVersion 2
- targetGenDir 'src/main/java'
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- testCompile 'junit:junit:4.12'
- compile 'com.android.support:support-v4:23.4.0'
- compile 'org.greenrobot:greendao:3.2.2'
- }
- // uploadArchive only arr and eclipse
- //apply from: "https://github.com/sinlov/Gradle_Zoo/raw/master/android-local/local-archives-only-arr-eclipse.gradle"
|