Skip to content

Commit

Permalink
prepare 2.4.0 RC
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot committed Oct 3, 2019
1 parent b5a023b commit a5076b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
ObjectBox is a superfast object-oriented database with strong relation support.
ObjectBox is embedded into your Android, Linux, macOS, or Windows app.

**Latest version: [2.3.4 (2019/03/19)](https://objectbox.io/changelog)**
**Latest version: [2.4.0 RC (2019/10/03)](https://objectbox.io/changelog)**

**Latest stable version: [2.3.4 (2019/03/19)](https://objectbox.io/changelog)**

Demo code using ObjectBox:

Expand Down
8 changes: 5 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ version = ob_version

buildscript {
ext {
// version post fix: '-<value>' or '' if not defined
// version post fix: '-<value>' or '' if not defined; e.g. used by CI to pass in branch name
def versionPostFixValue = project.findProperty('versionPostFix')
def versionPostFix = versionPostFixValue ? "-$versionPostFixValue" : ''
ob_version = "2.4.0$versionPostFix-SNAPSHOT"
//ob_version = "2.4.0$versionPostFix-SNAPSHOT"
ob_version = "2.4.0-RC" // Release; don't use versionPostFix
println "ObjectBox Java version $ob_version"

ob_expected_version = project.hasProperty('expectedVersion') ? project.property('expectedVersion') : 'UNDEFINED'

// Core version for tests
// Be careful to diverge here; easy to forget and hard to find JNI problems
ob_native_version = "2.4.0-dev-SNAPSHOT"
//ob_native_version = "2.4.0-dev-SNAPSHOT"
ob_native_version = "2.4.0-RC"

def osName = System.getProperty("os.name").toLowerCase()
objectboxPlatform = osName.contains('linux') ? 'linux'
Expand Down
2 changes: 1 addition & 1 deletion objectbox-java/src/main/java/io/objectbox/BoxStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class BoxStore implements Closeable {
/** Change so ReLinker will update native library when using workaround loading. */
public static final String JNI_VERSION = "2.4.0";

private static final String VERSION = "2.4.0-2019-06-25";
private static final String VERSION = "2.4.0-2019-10-03";
private static BoxStore defaultStore;

/** Currently used DB dirs with values from {@link #getCanonicalPath(File)}. */
Expand Down

0 comments on commit a5076b2

Please sign in to comment.