Skip to content

Instantly share code, notes, and snippets.

@s1rius
Created February 24, 2014 07:35
Show Gist options
  • 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