Skip to content

Commit

Permalink
objectbox 0.9.12, realm 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot committed May 29, 2017
1 parent 3c1fddd commit 7cce9e1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Expand Up @@ -11,8 +11,8 @@ buildscript {
mavenLocal()
}
dependencies {
classpath "io.objectbox:objectbox-gradle-plugin:0.9.11"
classpath 'io.realm:realm-gradle-plugin:3.1.3'
classpath "io.objectbox:objectbox-gradle-plugin:0.9.12.1"
classpath 'io.realm:realm-gradle-plugin:3.3.1'
}
}

Expand Down Expand Up @@ -62,7 +62,7 @@ android {
}

dependencies {
compile 'io.objectbox:objectbox-android:0.9.11'
compile 'io.objectbox:objectbox-android:0.9.12'
compile 'org.greenrobot:greendao:3.2.2'
compile 'org.greenrobot:essentials:3.0.0-RC1'
}
Expand Up @@ -3,6 +3,7 @@
import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Generated;
import io.objectbox.annotation.Id;
import io.objectbox.annotation.apihint.Internal;

@Entity
public class SimpleEntity {
Expand All @@ -21,15 +22,17 @@ public class SimpleEntity {

byte[] simpleByteArray;

@Generated(hash = 1682830787)
@Generated(1682830787)
public SimpleEntity() {
}

public SimpleEntity(long id) {
this.id = id;
}

@Generated(hash = 1181757593)
@Generated(1485608211)
@Internal
/** This constructor was generated by ObjectBox and may change any time. */
public SimpleEntity(long id, boolean simpleBoolean, byte simpleByte, short simpleShort, int simpleInt, long simpleLong, float simpleFloat, double simpleDouble, String simpleString, byte[] simpleByteArray) {
this.id = id;
this.simpleBoolean = simpleBoolean;
Expand Down
Expand Up @@ -4,6 +4,7 @@
import io.objectbox.annotation.Generated;
import io.objectbox.annotation.Id;
import io.objectbox.annotation.Index;
import io.objectbox.annotation.apihint.Internal;

@Entity
public class SimpleEntityIndexed {
Expand Down Expand Up @@ -31,7 +32,9 @@ public SimpleEntityIndexed(long id) {
this.id = id;
}

@Generated(hash = 262784442)
@Generated(257836026)
@Internal
/** This constructor was generated by ObjectBox and may change any time. */
public SimpleEntityIndexed(long id, boolean simpleBoolean, byte simpleByte, short simpleShort, int simpleInt, long simpleLong, float simpleFloat, double simpleDouble, String simpleString, byte[] simpleByteArray) {
this.id = id;
this.simpleBoolean = simpleBoolean;
Expand Down
4 changes: 3 additions & 1 deletion build.gradle
Expand Up @@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
maven { url "http://objectbox.net/beta-repo/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.android.tools.build:gradle:2.3.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
maven { url "http://objectbox.net/beta-repo/" }
}
}

Expand Down

0 comments on commit 7cce9e1

Please sign in to comment.