Skip to content

Commit

Permalink
Publish
Browse files Browse the repository at this point in the history
  • Loading branch information
javierpe committed Feb 2, 2018
1 parent d2000c5 commit 1bf2791
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Realm.init(this);

}

/**
Expand All @@ -25,7 +27,6 @@ private void testRealmExpressions(){
// Build with default objects and native classes.
//RealmExpression.addEnvironmentObject("user", KUser.getCurrentUser(), false);


// Build...
RealmExpression engine = new RealmExpression.Builder()
//.addExpression("B1", "@REXP($user.@getFirstName())")
Expand Down
5 changes: 4 additions & 1 deletion expressions/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'realm-android'
apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.javierpe'

android {
compileSdkVersion 26
Expand All @@ -15,7 +17,6 @@ android {

multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {
Expand All @@ -29,9 +30,11 @@ android {
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "io.realm:realm-gradle-plugin:4.2.0"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
}
}

Expand Down

0 comments on commit 1bf2791

Please sign in to comment.