Skip to content

Commit

Permalink
Remove upload gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
amitshekhariitbhu committed Aug 18, 2024
1 parent 1dbde7c commit 864db54
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 458 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ maven { setUrl("https://jitpack.io") }

Add this in your `build.gradle`
```groovy
implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.3'
implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.4'
```

If you are using `build.gradle.kts`, add the following:
```kotlin
implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.3")
implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.4")
```

Do not forget to add internet permission in manifest if already not present
Expand All @@ -89,12 +89,12 @@ Using the Fast Android Networking with Jackson Parser

Add this in your `build.gradle`
```groovy
implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.3'
implementation 'com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.4'
```

If you are using `build.gradle.kts`, add the following:
```kotlin
implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.3")
implementation("com.github.amitshekhariitbhu.Fast-Android-Networking:jackson-android-networking:1.0.4")
```

```java
Expand Down
13 changes: 6 additions & 7 deletions android-networking/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,10 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile "junit:junit:$rootProject.ext.jUnitVersion"
androidTestCompile "com.squareup.okhttp3:mockwebserver:$rootProject.ext.mockWebServerVersion"
compile "com.squareup.okhttp3:okhttp:$rootProject.ext.okHttp3Version"
compile "com.google.code.gson:gson:$rootProject.ext.gsonVersion"
compile "com.android.support:appcompat-v7:$rootProject.ext.supportAppCompatVersion"
api fileTree(dir: 'libs', include: ['*.jar'])
testImplementation "junit:junit:$rootProject.ext.jUnitVersion"
androidTestImplementation "com.squareup.okhttp3:mockwebserver:$rootProject.ext.mockWebServerVersion"
api "com.squareup.okhttp3:okhttp:$rootProject.ext.okHttp3Version"
api "com.google.code.gson:gson:$rootProject.ext.gsonVersion"
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportAppCompatVersion"
}
//apply from: 'upload.gradle'
101 changes: 0 additions & 101 deletions android-networking/upload.gradle

This file was deleted.

8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile "junit:junit:$rootProject.ext.jUnitVersion"
compile "com.android.support:appcompat-v7:$rootProject.ext.supportAppCompatVersion"
compile project(':android-networking')
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation "junit:junit:$rootProject.ext.jUnitVersion"
implementation "com.android.support:appcompat-v7:$rootProject.ext.supportAppCompatVersion"
implementation project(':android-networking')
}
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath 'com.android.tools.build:gradle:7.0.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Thu Apr 12 21:48:48 IST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
12 changes: 5 additions & 7 deletions jackson-android-networking/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile "junit:junit:$rootProject.ext.jUnitVersion"
androidTestCompile "com.squareup.okhttp3:mockwebserver:$rootProject.ext.mockWebServerVersion"
compile "com.fasterxml.jackson.core:jackson-databind:$rootProject.ext.jacksonVersion"
compile project(':android-networking')
api fileTree(dir: 'libs', include: ['*.jar'])
testImplementation "junit:junit:$rootProject.ext.jUnitVersion"
androidTestImplementation "com.squareup.okhttp3:mockwebserver:$rootProject.ext.mockWebServerVersion"
api "com.fasterxml.jackson.core:jackson-databind:$rootProject.ext.jacksonVersion"
api project(':android-networking')
}

//apply from: 'jackson-upload.gradle'
103 changes: 0 additions & 103 deletions jackson-android-networking/jackson-upload.gradle

This file was deleted.

11 changes: 5 additions & 6 deletions rx-android-networking/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile "junit:junit:$rootProject.ext.jUnitVersion"
compile "io.reactivex:rxandroid:$rootProject.ext.rxJavaAndroidVersion"
compile "io.reactivex:rxjava:$rootProject.ext.rxJavaVersion"
compile project(':android-networking')
api fileTree(dir: 'libs', include: ['*.jar'])
testImplementation "junit:junit:$rootProject.ext.jUnitVersion"
api "io.reactivex:rxandroid:$rootProject.ext.rxJavaAndroidVersion"
api "io.reactivex:rxjava:$rootProject.ext.rxJavaVersion"
api project(':android-networking')
}
//apply from: 'rx-upload.gradle'
Loading

0 comments on commit 864db54

Please sign in to comment.