2017-04-05 00:39:18 +00:00
|
|
|
rootProject.name = 'masterpassword'
|
2017-03-06 19:52:52 +00:00
|
|
|
|
2017-09-20 20:52:20 +00:00
|
|
|
def local = new Properties();
|
2017-09-21 14:32:38 +00:00
|
|
|
try {
|
|
|
|
local.load(file('local.properties').newDataInputStream())
|
|
|
|
} catch (FileNotFoundException ignored) {
|
|
|
|
}
|
2017-09-20 20:52:20 +00:00
|
|
|
|
2018-05-25 17:08:05 +00:00
|
|
|
include 'masterpassword-core'
|
|
|
|
project(':masterpassword-core').projectDir = new File( '../core/c' )
|
|
|
|
|
2017-04-05 00:39:18 +00:00
|
|
|
include 'masterpassword-algorithm'
|
|
|
|
project(':masterpassword-algorithm').projectDir = new File( '../core/java/algorithm' )
|
2017-03-06 19:52:52 +00:00
|
|
|
|
2017-04-05 00:39:18 +00:00
|
|
|
include 'masterpassword-model'
|
|
|
|
project(':masterpassword-model').projectDir = new File( '../core/java/model' )
|
2017-03-06 19:52:52 +00:00
|
|
|
|
2017-04-05 00:39:18 +00:00
|
|
|
include 'masterpassword-tests'
|
|
|
|
project(':masterpassword-tests').projectDir = new File( '../core/java/tests' )
|
2017-03-06 19:52:52 +00:00
|
|
|
|
2017-04-05 00:39:18 +00:00
|
|
|
include 'masterpassword-gui'
|
|
|
|
project(':masterpassword-gui').projectDir = new File( '../platform-independent/gui-java' )
|
2017-03-06 19:52:52 +00:00
|
|
|
|
2018-05-25 17:08:05 +00:00
|
|
|
/*
|
2017-09-20 20:52:20 +00:00
|
|
|
if (local.containsKey('sdk.dir')) {
|
|
|
|
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." )
|
2018-05-25 17:08:05 +00:00
|
|
|
}*/
|