From 6a1c2f032b453c597dd8eb0555282540a69effe4 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Mon, 19 Nov 2018 21:39:47 +0100 Subject: [PATCH] Revert Graddle version --- .idea/caches/build_file_checksums.ser | Bin 545 -> 545 bytes .../herbron/moodl/DataManagers/DataCrypter.java | 3 ++- build.gradle | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser index 92dcb68ae802120de4401d43f34c085dba3f0674..e9a918a6b5c6061ecb3b0c399f93b8b539ba6e56 100644 GIT binary patch delta 36 ucmV+<0Neke1fc|wmj!1nr*__voXij%j)#;VUxQ3reVEr{zV-l delta 36 ucmV+<0Neke1fc|wmj!0^prGK9oXilKOu3ogOJX7N!}Kxkrl|9icmb(cEfbyq diff --git a/app/src/main/java/com/herbron/moodl/DataManagers/DataCrypter.java b/app/src/main/java/com/herbron/moodl/DataManagers/DataCrypter.java index 006cd81..45df18a 100644 --- a/app/src/main/java/com/herbron/moodl/DataManagers/DataCrypter.java +++ b/app/src/main/java/com/herbron/moodl/DataManagers/DataCrypter.java @@ -82,7 +82,8 @@ public class DataCrypter { } catch(NoSuchPaddingException | NoSuchAlgorithmException | InvalidKeyException | UnsupportedEncodingException - | InvalidAlgorithmParameterException e) { + | InvalidAlgorithmParameterException | BadPaddingException + | IllegalBlockSizeException e) { e.printStackTrace(); } diff --git a/build.gradle b/build.gradle index ce91d76..04c6bc4 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.2.0' + classpath 'com.android.tools.build:gradle:3.1.4' // NOTE: Do not place your application dependencies here; they belong