mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-29 07:42:06 +01:00
PGPainless 0.0.1-alpha1
This commit is contained in:
parent
39c5464c37
commit
cdf2fd4aca
5 changed files with 4 additions and 7 deletions
|
@ -35,7 +35,7 @@ allprojects {
|
||||||
|
|
||||||
// checkstyle
|
// checkstyle
|
||||||
checkstyle {
|
checkstyle {
|
||||||
configFile = 'config/checkstyle.xml' as File
|
configFile = "${project.rootDir}/config/checkstyle.xml" as File
|
||||||
toolVersion = '8.10'
|
toolVersion = '8.10'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ import org.bouncycastle.openpgp.PGPPublicKeyRing;
|
||||||
import org.bouncycastle.openpgp.PGPSecretKeyRing;
|
import org.bouncycastle.openpgp.PGPSecretKeyRing;
|
||||||
import org.pgpainless.key.selection.keyring.PublicKeyRingSelectionStrategy;
|
import org.pgpainless.key.selection.keyring.PublicKeyRingSelectionStrategy;
|
||||||
import org.pgpainless.key.selection.keyring.SecretKeyRingSelectionStrategy;
|
import org.pgpainless.key.selection.keyring.SecretKeyRingSelectionStrategy;
|
||||||
import org.pgpainless.key.selection.keyring.PublicKeyRingSelectionStrategy;
|
|
||||||
|
|
||||||
public class ExactUserId {
|
public class ExactUserId {
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ public class BCUtil {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public static PGPSecretKeyRing getKeyRingFromCollection(PGPSecretKeyRingCollection collection, Long id)
|
public static PGPSecretKeyRing getKeyRingFromCollection(PGPSecretKeyRingCollection collection, Long id)
|
||||||
throws PGPException, IOException {
|
throws PGPException {
|
||||||
PGPSecretKeyRing uncleanedRing = collection.getSecretKeyRing(id);
|
PGPSecretKeyRing uncleanedRing = collection.getSecretKeyRing(id);
|
||||||
|
|
||||||
// Determine ids of signed keys
|
// Determine ids of signed keys
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
package org.pgpainless;
|
package org.pgpainless;
|
||||||
|
|
||||||
import static junit.framework.TestCase.assertEquals;
|
import static junit.framework.TestCase.assertEquals;
|
||||||
import static junit.framework.TestCase.assertNotNull;
|
|
||||||
import static junit.framework.TestCase.assertNull;
|
|
||||||
import static junit.framework.TestCase.assertTrue;
|
import static junit.framework.TestCase.assertTrue;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
ext {
|
ext {
|
||||||
shortVersion = '0.0.1'
|
shortVersion = '0.0.1-alpha1'
|
||||||
isSnapshot = true
|
isSnapshot = false
|
||||||
pgpainlessMinAndroidSdk = 9
|
pgpainlessMinAndroidSdk = 9
|
||||||
javaSourceCompatibility = 1.8
|
javaSourceCompatibility = 1.8
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue