Skip to content

Commit a74d721

Browse files
committed
new ext.ob_version
1 parent 7ad6e3e commit a74d721

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
// Just too many sub projects, so each can reference rootProject.version
2-
version = '1.5.1-SNAPSHOT'
2+
version = ob_version
33

44
buildscript {
5-
ext.ob_native_version = version // Be careful to diverge here; easy to forget and hard to find JNI problems
6-
ext.ob_expected_version = project.hasProperty('expectedVersion') ? project.property('expectedVersion') : 'UNDEFINED'
75
ext {
6+
ob_version = '1.5.1-SNAPSHOT'
7+
ob_native_version = ob_version // Be careful to diverge here; easy to forget and hard to find JNI problems
8+
ob_expected_version = project.hasProperty('expectedVersion') ? project.property('expectedVersion') : 'UNDEFINED'
9+
810
isLinux = System.getProperty("os.name").contains("Linux")
911
isMac = !isLinux && System.getProperty("os.name").toLowerCase().contains("mac")
1012
isWin = System.getProperty("os.name").toLowerCase().contains("windows")

0 commit comments

Comments
 (0)