Fix gradle build with missing local.properties.
This commit is contained in:
		@@ -6,6 +6,6 @@ git:
 | 
			
		||||
script:
 | 
			
		||||
  - "( brew install libsodium json-c )"
 | 
			
		||||
  - "( cd ./platform-independent/cli-c && ./clean && targets='mpw mpw-bench mpw-tests' ./build && ./mpw-tests && ./mpw-cli-tests )"
 | 
			
		||||
  - "( cd ./gradle && ./gradlew test )"
 | 
			
		||||
  - "( cd ./gradle && ./gradlew --stacktrace test )"
 | 
			
		||||
  - "( xcodebuild -workspace platform-darwin/MasterPassword.xcworkspace -configuration 'Test' -scheme 'MasterPassword iOS' -sdk iphonesimulator )"
 | 
			
		||||
  - "( xcodebuild -workspace platform-darwin/MasterPassword.xcworkspace -configuration 'Test' -scheme 'MasterPassword macOS' )"
 | 
			
		||||
 
 | 
			
		||||
@@ -23,9 +23,7 @@ import javax.annotation.Nullable;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * bugs:
 | 
			
		||||
 * - V2: miscounted the byte-length for multi-byte full names.
 | 
			
		||||
 * - V1: miscounted the byte-length for multi-byte site names.
 | 
			
		||||
 * @see MasterKey.Version#V1
 | 
			
		||||
 *
 | 
			
		||||
 * @author lhunath, 2014-08-30
 | 
			
		||||
 */
 | 
			
		||||
 
 | 
			
		||||
@@ -28,8 +28,7 @@ import javax.annotation.Nullable;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * bugs:
 | 
			
		||||
 * - V2: miscounted the byte-length for multi-byte full names.
 | 
			
		||||
 * @see MasterKey.Version#V2
 | 
			
		||||
 * 
 | 
			
		||||
 * @author lhunath, 2014-08-30
 | 
			
		||||
 */
 | 
			
		||||
 
 | 
			
		||||
@@ -29,8 +29,7 @@ import java.util.Arrays;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * bugs:
 | 
			
		||||
 * - no known issues.
 | 
			
		||||
 * @see MasterKey.Version#V3
 | 
			
		||||
 *
 | 
			
		||||
 * @author lhunath, 2014-08-30
 | 
			
		||||
 */
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,10 @@
 | 
			
		||||
rootProject.name = 'masterpassword'
 | 
			
		||||
 | 
			
		||||
def local = new Properties();
 | 
			
		||||
local.load(file('local.properties').newDataInputStream())
 | 
			
		||||
try {
 | 
			
		||||
    local.load(file('local.properties').newDataInputStream())
 | 
			
		||||
} catch (FileNotFoundException ignored) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
include 'masterpassword-algorithm'
 | 
			
		||||
project(':masterpassword-algorithm').projectDir = new File( '../core/java/algorithm' )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user