Ellie

 
Compile-time active record ORM for Android.
Ellie is a heavily modified fork from Ollie, with a few important modifications:
- Calls to the main
Ellieclass are not static; - Moved database logic out of Model classes into ModelRepository classes;
Download
Grab via Maven:
<dependency>
<groupId>com.nhaarman.ellie</groupId>
<artifactId>core</artifactId>
<version>x.x.x</version>
</dependency>
<dependency>
<groupId>com.nhaarman.ellie</groupId>
<artifactId>compiler</artifactId>
<version>x.x.x</version>
<optional>true</optional>
</dependency>
or Gradle:
compile 'com.nhaarman.ellie:core:x.x.x'
provided 'com.nhaarman.ellie:compiler:x.x.x'
Build
To build:
$ git clone git@github.com:nhaarman/ellie.git
$ cd ellie/
$ ./gradlew build
Debugging:
Add the following to ~/.gradle/gradle.properties, and run ./gradlew daemon.
org.gradle.daemon=true
org.gradle.jvmargs=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
Next, in IntelliJ, add a Remote Run Configuration and start debugging. When building the project (gradlew build), the debugger will halt at breakpoints in the annotation processor.
License
Copyright 2014 Michael Pardo
Copyright 2014 Niek Haarman
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.