File tree Expand file tree Collapse file tree 15 files changed +27
-305
lines changed
androidTest/java/com/mindorks/sample
main/java/com/mindorks/sample
test/java/com/mindorks/sample
src/main/java/com/mindorks/scheduler Expand file tree Collapse file tree 15 files changed +27
-305
lines changed Original file line number Diff line number Diff line change 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() `
Original file line number Diff line number Diff line change 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-
171apply plugin : ' com.android.application'
182
193android {
Original file line number Diff line number Diff line change 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
173package com .mindorks .sample ;
184
Original file line number Diff line number Diff line change 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-
171package com .mindorks .sample ;
182
193import android .os .Bundle ;
Original file line number Diff line number Diff line change 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
173package com .mindorks .sample ;
184
Original file line number Diff line number Diff line change 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
193buildscript {
@@ -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
Original file line number Diff line number Diff line change 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
181distributionBase =GRADLE_USER_HOME
192distributionPath =wrapper/dists
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.2-bin.zip
204zipStoreBase =GRADLE_USER_HOME
215zipStorePath =wrapper/dists
22- distributionUrl =https\://services.gradle.org/distributions/gradle-4.4-all.zip
Original file line number Diff line number Diff line change @@ -2,25 +2,8 @@ apply plugin: 'java-library'
22
33dependencies {
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
88sourceCompatibility = " 1.7"
99targetCompatibility = " 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'
Original file line number Diff line number Diff line change 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
173package com .mindorks .scheduler ;
184
Original file line number Diff line number Diff line change 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
173package com .mindorks .scheduler ;
184
You can’t perform that action at this time.
0 commit comments