2
0
MasterPassword/settings.gradle

28 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

rootProject.name = 'masterpassword'
2018-07-01 00:53:29 +00:00
def local = new Properties()
def localFile = file( 'local.properties' )
localFile.exists() && local.load( localFile.newDataInputStream() )
include 'masterpassword-core'
2019-09-23 18:13:03 +00:00
project( ':masterpassword-core' ).projectDir = new File( 'platform-independent/c/core' )
include 'masterpassword-algorithm'
2019-09-23 18:13:03 +00:00
project( ':masterpassword-algorithm' ).projectDir = new File( 'platform-independent/java/algorithm' )
include 'masterpassword-model'
2019-09-23 18:13:03 +00:00
project( ':masterpassword-model' ).projectDir = new File( 'platform-independent/java/model' )
include 'masterpassword-tests'
2019-09-23 18:13:03 +00:00
project( ':masterpassword-tests' ).projectDir = new File( 'platform-independent/java/tests' )
include 'masterpassword-gui'
2019-09-23 18:13:03 +00:00
project( ':masterpassword-gui' ).projectDir = new File( 'platform-independent/java/gui' )
2018-07-01 00:53:29 +00:00
if (local.containsKey( 'sdk.dir' ) && file( local.getProperty( 'sdk.dir' ) ).exists()) {
include 'masterpassword-android'
2019-09-23 18:13:03 +00:00
project( ':masterpassword-android' ).projectDir = new File( 'platform-android' )
2018-07-01 00:53:29 +00:00
} else {
logger.warn( "Skipping masterpassword-android since sdk.dir is not defined in local.properties." )
}