Skip to content

Commit

Permalink
Update dependency version in gradle file
Browse files Browse the repository at this point in the history
  • Loading branch information
Hariharan authored and Hariharan committed Nov 23, 2021
1 parent 6203afb commit 77f8c9e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ dependencies {
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation project(':utils')
//implementation 'com.github.braver-tool:app-utils:1.0.0'
//implementation project(':utils')
implementation 'com.github.braver-tool:app-utils:1.1.1'
}
7 changes: 7 additions & 0 deletions utils/src/main/java/com/braver/utils/ApiUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
/**
* To Know more about Retrofit APIs on Android development ~
* Please visit My Page ~ https://github.com/braver-tool/AndroidRestfulAPI
* <p>
* For Libraries:
* //For retrofit - Network Libraries
* implementation 'com.squareup.retrofit2:retrofit:2.9.0'
* implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
* implementation 'com.squareup.okhttp3:okhttp:4.9.1'
* implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
*/
public class ApiUtils {

Expand Down
4 changes: 4 additions & 0 deletions utils/src/main/java/com/braver/utils/CryptoUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;

/**
* //For Encryption/Decryption/KeyGeneration
* implementation 'org.bouncycastle:bcprov-jdk16:1.45'
*/
public class CryptoUtils {
private final static char[] HEX_ARRAY = "0123456789ABCDEF".toCharArray();
public static final String ECDH_ALGORITHM = "ECDH";
Expand Down
6 changes: 6 additions & 0 deletions utils/src/main/java/com/braver/utils/SocketUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@


/**
* In Gradle file :
* //For Socket.IO
* implementation('io.socket:socket.io-client:0.8.3') {
* exclude group: 'org.json', module: 'json'
* }
* In Code:
* Step 1:
* You can call #initSocket() method on your project's application class OnCreate delegate with your socket url
* Step 2:
Expand Down

0 comments on commit 77f8c9e

Please sign in to comment.