File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
// Just too many sub projects, so each can reference rootProject.version
2
- version = ' 1.5.1-SNAPSHOT '
2
+ version = ob_version
3
3
4
4
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'
7
5
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
+
8
10
isLinux = System . getProperty(" os.name" ). contains(" Linux" )
9
11
isMac = ! isLinux && System . getProperty(" os.name" ). toLowerCase(). contains(" mac" )
10
12
isWin = System . getProperty(" os.name" ). toLowerCase(). contains(" windows" )
You can’t perform that action at this time.
0 commit comments