Created
February 26, 2015 13:06
-
-
Save Fi5t/96385189079a8d307ed6 to your computer and use it in GitHub Desktop.
DBFlow with Gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
apply plugin: 'com.neenbedankt.android-apt' | |
android { | |
compileSdkVersion 21 | |
buildToolsVersion "21.1.2" | |
defaultConfig { | |
applicationId "ru.freedomlogic.dbflower" | |
minSdkVersion 15 | |
targetSdkVersion 21 | |
versionCode 1 | |
versionName "1.0" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
} | |
dependencies { | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
compile 'com.android.support:appcompat-v7:21.0.3' | |
apt 'com.raizlabs.android:DBFlow-Compiler:1.6.0' | |
compile "com.raizlabs.android:DBFlow-Core:1.6.0" | |
compile "com.raizlabs.android:DBFlow:1.6.0" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Top-level build file where you can add configuration options common to all sub-projects/modules. | |
buildscript { | |
repositories { | |
jcenter() | |
maven { url "https://raw.github.com/Raizlabs/maven-releases/master/releases" } | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:1.1.0' | |
classpath 'com.raizlabs:Griddle:1.0.3' | |
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4' | |
// NOTE: Do not place your application dependencies here; they belong | |
// in the individual module build.gradle files | |
} | |
} | |
allprojects { | |
repositories { | |
jcenter() | |
maven { url "https://raw.github.com/Raizlabs/maven-releases/master/releases" } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment