Compare commits
5 Commits
2.6-cli-5
...
2.5-androi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2771125eb5 | ||
|
|
a16cb19311 | ||
|
|
8f8920b91f | ||
|
|
1d913b7f78 | ||
|
|
8d9a3e0ab0 |
@@ -143,12 +143,12 @@ const char **mpw_templatesForType(MPResultType type, size_t *count) {
|
|||||||
case MPResultTypeTemplateMedium:
|
case MPResultTypeTemplateMedium:
|
||||||
return mpw_alloc_array( count, const char *,
|
return mpw_alloc_array( count, const char *,
|
||||||
"CvcnoCvc", "CvcCvcno" );
|
"CvcnoCvc", "CvcCvcno" );
|
||||||
case MPResultTypeTemplateBasic:
|
|
||||||
return mpw_alloc_array( count, const char *,
|
|
||||||
"aaanaaan", "aannaaan", "aaannaaa" );
|
|
||||||
case MPResultTypeTemplateShort:
|
case MPResultTypeTemplateShort:
|
||||||
return mpw_alloc_array( count, const char *,
|
return mpw_alloc_array( count, const char *,
|
||||||
"Cvcn" );
|
"Cvcn" );
|
||||||
|
case MPResultTypeTemplateBasic:
|
||||||
|
return mpw_alloc_array( count, const char *,
|
||||||
|
"aaanaaan", "aannaaan", "aaannaaa" );
|
||||||
case MPResultTypeTemplatePIN:
|
case MPResultTypeTemplatePIN:
|
||||||
return mpw_alloc_array( count, const char *,
|
return mpw_alloc_array( count, const char *,
|
||||||
"nnnn" );
|
"nnnn" );
|
||||||
|
|||||||
7
gradle/README.md
Normal file
7
gradle/README.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
To build a release distribution:
|
||||||
|
|
||||||
|
STORE_PW=$(mpw masterpassword.keystore) KEY_PW=$(mpw masterpassword-android) gradle assembleRelease
|
||||||
|
|
||||||
|
Note:
|
||||||
|
|
||||||
|
- At the time of writing, Android does not build with JDK 9+. As such, the above command must be ran with JAVA_HOME pointing to JDK 7-8.
|
||||||
@@ -22,7 +22,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath group: 'com.android.tools.build', name: 'gradle', version: '2.3.0'
|
classpath group: 'com.android.tools.build', name: 'gradle', version: '2.3.2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
gradle/gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
@@ -1,6 +1,5 @@
|
|||||||
#Sun Mar 26 09:11:08 EDT 2017
|
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-bin.zip
|
||||||
|
|||||||
6
gradle/gradlew
vendored
6
gradle/gradlew
vendored
@@ -33,11 +33,11 @@ DEFAULT_JVM_OPTS=""
|
|||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD="maximum"
|
MAX_FD="maximum"
|
||||||
|
|
||||||
warn ( ) {
|
warn () {
|
||||||
echo "$*"
|
echo "$*"
|
||||||
}
|
}
|
||||||
|
|
||||||
die ( ) {
|
die () {
|
||||||
echo
|
echo
|
||||||
echo "$*"
|
echo "$*"
|
||||||
echo
|
echo
|
||||||
@@ -155,7 +155,7 @@ if $cygwin ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Escape application args
|
# Escape application args
|
||||||
save ( ) {
|
save () {
|
||||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||||
echo " "
|
echo " "
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
To build this module, please ensure you've done the following setup:
|
|
||||||
|
|
||||||
1. Installed the Android SDK and fully downloaded the Android SDK platform 21 in it.
|
|
||||||
2. Set the environment variable ANDROID_HOME in your shell or in ~/.mavenrc to point to the root of your Android SDK install.
|
|
||||||
3. Installed the Android SDK into your Maven's local repository.
|
|
||||||
3a. Clone the maven-android-sdk-deployer available from here: https://github.com/mosabua/maven-android-sdk-deployer.git
|
|
||||||
3b. In the root of this project, run: mvn install -P 5.0
|
|
||||||
|
|
||||||
To build this module:
|
|
||||||
|
|
||||||
1. Build the parent, by going into 'MasterPassword/Java' and running: mvn clean install
|
|
||||||
2. Build this module, by going into 'MasterPassword/Java/masterpassword-android' and running: mvn clean install
|
|
||||||
3. You can then find the APK in: 'MasterPassword/Java/masterpassword-android/target'
|
|
||||||
@@ -13,8 +13,8 @@ android {
|
|||||||
applicationId 'com.lyndir.masterpassword'
|
applicationId 'com.lyndir.masterpassword'
|
||||||
minSdkVersion 19
|
minSdkVersion 19
|
||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
versionCode 20401
|
versionCode 20501
|
||||||
versionName '2.4.1'
|
versionName '2.5.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
// release with: STORE_PW=$(mpw masterpassword.keystore) KEY_PW=$(mpw masterpassword-android) gradle assembleRelease
|
// release with: STORE_PW=$(mpw masterpassword.keystore) KEY_PW=$(mpw masterpassword-android) gradle assembleRelease
|
||||||
|
|||||||
Submodule public/site updated: b059ce7853...e4cc332a77
Reference in New Issue
Block a user