mirror of
https://github.com/prajwalch/TorrentSearch.git
synced 2026-05-18 09:30:35 +00:00
chore: Upgrade agp to v9 including hilt
Signed-off-by: prajwalch <prajwal.chapagain58@gmail.com>
This commit is contained in:
+11
-11
@@ -1,6 +1,5 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
alias(libs.plugins.kotlin.compose)
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
alias(libs.plugins.ksp)
|
||||
@@ -10,7 +9,12 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace = "com.prajwalch.torrentsearch"
|
||||
compileSdk = 36
|
||||
|
||||
compileSdk {
|
||||
version = release(36) {
|
||||
minorApiLevel = 1
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.prajwalch.torrentsearch"
|
||||
@@ -26,6 +30,7 @@ android {
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
@@ -43,12 +48,6 @@ android {
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
jvmToolchain(17)
|
||||
}
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
compose = true
|
||||
buildConfig = true
|
||||
@@ -65,9 +64,10 @@ android {
|
||||
generateLocaleConfig = true
|
||||
}
|
||||
|
||||
room {
|
||||
schemaDirectory("$projectDir/schemas")
|
||||
}
|
||||
}
|
||||
|
||||
room {
|
||||
schemaDirectory("$projectDir/schemas")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
plugins {
|
||||
alias(libs.plugins.android.application) apply false
|
||||
alias(libs.plugins.kotlin.android) apply false
|
||||
alias(libs.plugins.kotlin.compose) apply false
|
||||
alias(libs.plugins.ksp) apply false
|
||||
alias(libs.plugins.androidx.room) apply false
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[versions]
|
||||
activityCompose = "1.13.0"
|
||||
agp = "8.13.2"
|
||||
agp = "9.1.0"
|
||||
composeBom = "2026.03.00"
|
||||
coreKtx = "1.18.0"
|
||||
coreSplashscreen = "1.2.0"
|
||||
datastorePreferences = "1.2.1"
|
||||
espressoCore = "3.7.0"
|
||||
hilt = "2.58"
|
||||
hilt = "2.59.2"
|
||||
hiltNavigationCompose = "1.3.0"
|
||||
jsoup = "1.22.1"
|
||||
junit = "4.13.2"
|
||||
@@ -56,7 +56,6 @@ lazycolumnscrollbar = { module = "com.github.nanihadesuka:LazyColumnScrollbar",
|
||||
android-application = { id = "com.android.application", version.ref = "agp" }
|
||||
androidx-room = { id = "androidx.room", version.ref = "room" }
|
||||
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
|
||||
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
||||
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
||||
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#Thu Mar 20 19:31:48 NPT 2025
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
Reference in New Issue
Block a user