Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
update uri, bump nicehttp & jsoup
Browse files Browse the repository at this point in the history
  • Loading branch information
IndusAryan committed Feb 5, 2024
1 parent b706235 commit 1bce3f9
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 295 deletions.
2 changes: 1 addition & 1 deletion PrMoviesProvider/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3
version = 4

cloudstream {
language = "hi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import com.lagradost.cloudstream3.plugins.Plugin
import android.content.Context

@CloudstreamPlugin
class PrmoviesPlugin: Plugin() {
class PRMoviesPlugin: Plugin() {
override fun load(context: Context) {
registerMainAPI(PRMoviesProvider())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ class PRMoviesProvider : MainAPI() {

override val mainPage = mainPageOf(
"$mainUrl/most-favorites/page/" to "Popular",
"$mainUrl/director/netflix/page/" to "Netflix",
"$mainUrl/director/netflix/page/" to "NetFlix",
"$mainUrl/director/amazon-prime/page/" to "Amazon Prime",
"$mainUrl/director/hotstar/page/" to "Hotstar",
"$mainUrl/director/discovery/page/" to "Discovery",
"$mainUrl/director/hotstar/page/" to "HotStar",
"$mainUrl/director/discovery/page/" to "Discovery+",
"$mainUrl/director/sonyliv-original/page/" to "SonyLiv",
"$mainUrl/director/voot-originals/page/" to "Voot",
"$mainUrl/director/viu-originals/page/" to "Viu",
"$mainUrl/director/zee5/page/" to "Zee5",
"$mainUrl/director/sonyliv-original/page/" to "Sonyliv Originals",
"$mainUrl/director/voot-originals/page/" to "Voot Originals",
"$mainUrl/director/viu-originals/page/" to "Viu Originals",
"$mainUrl/director/altbalaji/page/" to "Alt Balaji",
)

Expand Down
28 changes: 0 additions & 28 deletions YugenAnime/build.gradle.kts

This file was deleted.

2 changes: 0 additions & 2 deletions YugenAnime/src/main/AndroidManifest.xml

This file was deleted.

244 changes: 0 additions & 244 deletions YugenAnime/src/main/kotlin/com/yugen/YugenAnime.kt

This file was deleted.

12 changes: 0 additions & 12 deletions YugenAnime/src/main/kotlin/com/yugen/YugenAnimePlugin.kt

This file was deleted.

2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ subprojects {

cloudstream {
// when running through github workflow, GITHUB_REPOSITORY should contain current repository name
setRepo(System.getenv("GITHUB_REPOSITORY") ?: "https://github.com/IndusAryan/Aryans-Repo")
setRepo(System.getenv("GITHUB_REPOSITORY") ?: "https://github.com/IndusAryan/Aryans-Cloudstream-Extensions")
}

android {
Expand Down
42 changes: 42 additions & 0 deletions gradle upgrade guideline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
1) use jdk 17 -

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

jvmTarget = "17"


2) upgrade gradle build and include namespace in the config -

classpath("com.android.tools.build:gradle:8.2.0")

namespace = ""

3) in gradle wrapper -

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

4)sync gradle

5) modify workflows to use jdk 17 and include adopt

- name: Setup JDK 17
uses: actions/setup-java@v4
with:

java-version: 17
distribution: 'adopt'

- name: Setup Android SDK

uses: android-actions/setup-android@v3


6) delete manifest files from extensions , but when the manifest merge process will be removed from cloudstream gradle plugin

0 comments on commit 1bce3f9

Please sign in to comment.