Skip masterpassword-android if not set up to build it.
This commit is contained in:
parent
444d7e9b35
commit
70bb30ba0c
@ -1,5 +1,8 @@
|
|||||||
rootProject.name = 'masterpassword'
|
rootProject.name = 'masterpassword'
|
||||||
|
|
||||||
|
def local = new Properties();
|
||||||
|
local.load(file('local.properties').newDataInputStream())
|
||||||
|
|
||||||
include 'masterpassword-algorithm'
|
include 'masterpassword-algorithm'
|
||||||
project(':masterpassword-algorithm').projectDir = new File( '../core/java/algorithm' )
|
project(':masterpassword-algorithm').projectDir = new File( '../core/java/algorithm' )
|
||||||
|
|
||||||
@ -12,5 +15,9 @@ project(':masterpassword-tests').projectDir = new File( '../core/java/tests' )
|
|||||||
include 'masterpassword-gui'
|
include 'masterpassword-gui'
|
||||||
project(':masterpassword-gui').projectDir = new File( '../platform-independent/gui-java' )
|
project(':masterpassword-gui').projectDir = new File( '../platform-independent/gui-java' )
|
||||||
|
|
||||||
include 'masterpassword-android'
|
if (local.containsKey('sdk.dir')) {
|
||||||
project(':masterpassword-android').projectDir = new File( '../platform-android' )
|
include 'masterpassword-android'
|
||||||
|
project(':masterpassword-android').projectDir = new File( '../platform-android' )
|
||||||
|
} else {
|
||||||
|
logger.warn( "Skipping masterpassword-android since sdk.dir is not defined in local.properties." )
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user