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'
|
2018-06-06 00:01:46 +00:00
|
|
|
project(':masterpassword-core').projectDir = new File( '../platform-independent/c/core' )
|
2018-05-25 17:08:05 +00:00
|
|
|
|
2017-04-05 00:39:18 +00:00
|
|
|
include 'masterpassword-algorithm'
|
2018-06-06 00:19:10 +00:00
|
|
|
project(':masterpassword-algorithm').projectDir = new File( '../platform-independent/java/algorithm' )
|
2017-03-06 19:52:52 +00:00
|
|
|
|
2017-04-05 00:39:18 +00:00
|
|
|
include 'masterpassword-model'
|
2018-06-06 00:01:46 +00:00
|
|
|
project(':masterpassword-model').projectDir = new File( '../platform-independent/java/model' )
|
2017-03-06 19:52:52 +00:00
|
|
|
|
2017-04-05 00:39:18 +00:00
|
|
|
include 'masterpassword-tests'
|
2018-06-06 00:01:46 +00:00
|
|
|
project(':masterpassword-tests').projectDir = new File( '../platform-independent/java/tests' )
|
2017-03-06 19:52:52 +00:00
|
|
|
|
2017-04-05 00:39:18 +00:00
|
|
|
include 'masterpassword-gui'
|
2018-06-10 19:22:37 +00:00
|
|
|
project(':masterpassword-gui').projectDir = new File( '../platform-independent/java/gui' )
|
2017-03-06 19:52:52 +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-06-10 19:22:37 +00:00
|
|
|
}
|