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" }