From c2f0c0cad6e86329fbf44dc92281b3938169e428 Mon Sep 17 00:00:00 2001 From: jhengazuki Date: Mon, 4 Aug 2025 16:46:26 +0800 Subject: [PATCH] Update gradle --- app/build.gradle | 7 +++++-- catvod/build.gradle | 4 +++- chaquo/build.gradle | 7 +++++-- quickjs/build.gradle | 4 +++- settings.gradle | 2 -- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 11962a7f5..7b15c0652 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,8 +5,9 @@ plugins { android { namespace 'com.fongmi.android.tv' - compileSdk 36 - flavorDimensions = ["mode", "abi"] + compileSdk { + version = release(36) + } defaultConfig { applicationId "com.fongmi.android.tv" @@ -22,6 +23,8 @@ android { } } + flavorDimensions = ["mode", "abi"] + productFlavors { leanback { dimension "mode" diff --git a/catvod/build.gradle b/catvod/build.gradle index 30dc8e054..83bf4e140 100644 --- a/catvod/build.gradle +++ b/catvod/build.gradle @@ -5,7 +5,9 @@ plugins { android { namespace 'com.github.catvod.crawler' - compileSdk 36 + compileSdk { + version = release(36) + } defaultConfig { minSdk 24 diff --git a/chaquo/build.gradle b/chaquo/build.gradle index 999c7ff5e..3128328fd 100644 --- a/chaquo/build.gradle +++ b/chaquo/build.gradle @@ -6,8 +6,9 @@ plugins { android { namespace 'com.fongmi.chaquo' - compileSdk 36 - flavorDimensions = ["abi"] + compileSdk { + version = release(36) + } defaultConfig { minSdk 24 @@ -20,6 +21,8 @@ android { } } + flavorDimensions = ["abi"] + productFlavors { arm64_v8a { dimension "abi" diff --git a/quickjs/build.gradle b/quickjs/build.gradle index 977a2f68c..3073fc0b6 100644 --- a/quickjs/build.gradle +++ b/quickjs/build.gradle @@ -5,7 +5,9 @@ plugins { android { namespace 'com.fongmi.android.tv.quickjs' - compileSdk 36 + compileSdk { + version = release(36) + } defaultConfig { minSdk 24 diff --git a/settings.gradle b/settings.gradle index e9187e09e..0480d6c2d 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,7 +2,6 @@ pluginManagement { repositories { gradlePluginPortal() mavenCentral() - jcenter() google() } } @@ -10,7 +9,6 @@ dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() - jcenter() google() flatDir { dirs "$rootDir/app/libs" } maven { url "https://jitpack.io" }