Skip to content

Instantly share code, notes, and snippets.

@s1rius
Created February 24, 2014 07:35
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 s1rius/9183440 to your computer and use it in GitHub Desktop.
Save s1rius/9183440 to your computer and use it in GitHub Desktop.
GreenDAO
// Just a dummy script building a useless jar file. Waiting for version 0.3 of Android's new build system.
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7+'
}
}
apply plugin: 'android'
group = 'de.greenrobot'
version = '1.3.0'
sourceCompatibility = 1.6
repositories {
mavenCentral()
}
dependencies {
compile('de.greenrobot:greendao:1.3.0')
}
android {
compileSdkVersion 19
buildToolsVersion '19'
defaultConfig {
minSdkVersion 15
targetSdkVersion 19
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java {
srcDir 'src'
srcDir 'src-gen'
srcDir 'gen'
}
res.srcDirs = ['res']
}
}
lintOptions {
abortOnError false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment