Skip to content

Instantly share code, notes, and snippets.

@matpag
Created August 31, 2016 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matpag/90ff3401971af344d7146053d30f79c2 to your computer and use it in GitHub Desktop.
Save matpag/90ff3401971af344d7146053d30f79c2 to your computer and use it in GitHub Desktop.
apply plugin: 'com.android.application'
def dbflow_version = "3.1.1"
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.testpackage.test"
minSdkVersion 19
targetSdkVersion 24
versionCode 1
versionName "1.0.0"
jackOptions {
enabled true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
incremental false
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
//DBFlow deps
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:${dbflow_version}"
compile "com.github.Raizlabs.DBFlow:dbflow-core:${dbflow_version}"
compile "com.github.Raizlabs.DBFlow:dbflow:${dbflow_version}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment