Skip to content

Commit e5604fc

Browse files
Changes for jitpack
1 parent cdeb8cd commit e5604fc

File tree

15 files changed

+27
-305
lines changed

15 files changed

+27
-305
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,24 @@
1212

1313
## Using RxPS - RxJavaPriorityScheduler Library in your Android application
1414

15-
Add this in your build.gradle
15+
Add this in your `settings.gradle`:
1616
```groovy
17-
implementation 'com.mindorks.scheduler:rxps:0.1.0'
17+
maven { url 'https://jitpack.io' }
18+
```
19+
20+
If you are using `settings.gradle.kts`, add the following:
21+
```kotlin
22+
maven { setUrl("https://jitpack.io") }
23+
```
24+
25+
Add this in your `build.gradle`
26+
```groovy
27+
implementation 'com.github.amitshekhariitbhu:RxJavaPriorityScheduler:1.0.0'
28+
```
29+
30+
If you are using `build.gradle.kts`, add the following:
31+
```kotlin
32+
implementation("com.github.amitshekhariitbhu:RxJavaPriorityScheduler:1.0.0")
1833
```
1934

2035
### Setting low level priority for a task - use `RxPS.low()`

app/build.gradle

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
171
apply plugin: 'com.android.application'
182

193
android {

app/src/androidTest/java/com/mindorks/sample/ExampleInstrumentedTest.java

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
/*
2-
* Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
1+
162

173
package com.mindorks.sample;
184

app/src/main/java/com/mindorks/sample/MainActivity.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
171
package com.mindorks.sample;
182

193
import android.os.Bundle;

app/src/test/java/com/mindorks/sample/ExampleUnitTest.java

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
/*
2-
* Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
1+
162

173
package com.mindorks.sample;
184

build.gradle

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
171
// Top-level build file where you can add configuration options common to all sub-projects/modules.
182

193
buildscript {
@@ -23,9 +7,7 @@ buildscript {
237
jcenter()
248
}
259
dependencies {
26-
classpath 'com.android.tools.build:gradle:3.1.3'
27-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'
28-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
10+
classpath 'com.android.tools.build:gradle:7.0.4'
2911

3012
// NOTE: Do not place your application dependencies here; they belong
3113
// in the individual module build.gradle files
Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
1-
#
2-
# Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
15-
#
16-
17-
#Sun Jul 01 13:29:32 IST 2018
181
distributionBase=GRADLE_USER_HOME
192
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
204
zipStoreBase=GRADLE_USER_HOME
215
zipStorePath=wrapper/dists
22-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

rxps/build.gradle

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,8 @@ apply plugin: 'java-library'
22

33
dependencies {
44
implementation fileTree(dir: 'libs', include: ['*.jar'])
5-
compile 'io.reactivex.rxjava2:rxjava:2.1.16'
5+
api 'io.reactivex.rxjava2:rxjava:2.1.16'
66
}
77

88
sourceCompatibility = "1.7"
99
targetCompatibility = "1.7"
10-
/*
11-
* Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
12-
*
13-
* Licensed under the Apache License, Version 2.0 (the "License");
14-
* you may not use this file except in compliance with the License.
15-
* You may obtain a copy of the License at
16-
*
17-
* http://www.apache.org/licenses/LICENSE-2.0
18-
*
19-
* Unless required by applicable law or agreed to in writing, software
20-
* distributed under the License is distributed on an "AS IS" BASIS,
21-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22-
* See the License for the specific language governing permissions and
23-
* limitations under the License.
24-
*/
25-
26-
//apply from: 'upload.gradle'

rxps/src/main/java/com/mindorks/scheduler/Priority.java

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
/*
2-
* Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
1+
162

173
package com.mindorks.scheduler;
184

rxps/src/main/java/com/mindorks/scheduler/RxPS.java

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
1-
/*
2-
* Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
1+
162

173
package com.mindorks.scheduler;
184

0 commit comments

Comments
 (0)