2
0
MasterPassword/gradle/settings.gradle

28 lines
1.1 KiB
Groovy
Raw 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'
2018-07-01 00:53:29 +00:00
project( ':masterpassword-core' ).projectDir = new File( '../platform-independent/c/core' )
include 'masterpassword-algorithm'
2018-07-01 00:53:29 +00:00
project( ':masterpassword-algorithm' ).projectDir = new File( '../platform-independent/java/algorithm' )
include 'masterpassword-model'
2018-07-01 00:53:29 +00:00
project( ':masterpassword-model' ).projectDir = new File( '../platform-independent/java/model' )
include 'masterpassword-tests'
2018-07-01 00:53:29 +00:00
project( ':masterpassword-tests' ).projectDir = new File( '../platform-independent/java/tests' )
include 'masterpassword-gui'
2018-07-01 00:53:29 +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'
2018-07-01 00:53:29 +00:00
project( ':masterpassword-android' ).projectDir = new File( '../platform-android' )
} else {
logger.warn( "Skipping masterpassword-android since sdk.dir is not defined in local.properties." )
}