From c912b44efc62883a8dad49788e525f3f15ee5b7e Mon Sep 17 00:00:00 2001 From: Shcherbatykh Oleg Date: Tue, 10 Feb 2026 14:40:25 +0300 Subject: [PATCH] fix gradles: remove unused libs --- app/build.gradle.kts | 3 --- app/src/main/AndroidManifest.xml | 16 ++++++++++++---- core/common/build.gradle.kts | 3 --- core/database/build.gradle.kts | 3 --- core/ui/build.gradle.kts | 3 --- feature/news/build.gradle.kts | 3 --- feature/progress/build.gradle.kts | 3 --- feature/schedule/build.gradle.kts | 3 --- gradle/libs.versions.toml | 10 ++-------- 9 files changed, 14 insertions(+), 33 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f41d8c2..4126625 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -37,7 +37,4 @@ dependencies { implementation(libs.material) implementation(libs.androidx.activity) implementation(libs.androidx.constraintlayout) - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.junit) - androidTestImplementation(libs.androidx.espresso.core) } \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d24c4e7..4fd1171 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,8 @@ - + + + + - + android:exported="true"> + + + + + + + \ No newline at end of file diff --git a/core/common/build.gradle.kts b/core/common/build.gradle.kts index 03e29c7..3de386f 100644 --- a/core/common/build.gradle.kts +++ b/core/common/build.gradle.kts @@ -30,7 +30,4 @@ dependencies { implementation(libs.androidx.core.ktx) implementation(libs.androidx.appcompat) implementation(libs.material) - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.junit) - androidTestImplementation(libs.androidx.espresso.core) } \ No newline at end of file diff --git a/core/database/build.gradle.kts b/core/database/build.gradle.kts index ced6753..cc48a27 100644 --- a/core/database/build.gradle.kts +++ b/core/database/build.gradle.kts @@ -30,7 +30,4 @@ dependencies { implementation(libs.androidx.core.ktx) implementation(libs.androidx.appcompat) implementation(libs.material) - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.junit) - androidTestImplementation(libs.androidx.espresso.core) } \ No newline at end of file diff --git a/core/ui/build.gradle.kts b/core/ui/build.gradle.kts index d6d5f3a..055d38a 100644 --- a/core/ui/build.gradle.kts +++ b/core/ui/build.gradle.kts @@ -30,7 +30,4 @@ dependencies { implementation(libs.androidx.core.ktx) implementation(libs.androidx.appcompat) implementation(libs.material) - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.junit) - androidTestImplementation(libs.androidx.espresso.core) } \ No newline at end of file diff --git a/feature/news/build.gradle.kts b/feature/news/build.gradle.kts index dedfc35..d6429ce 100644 --- a/feature/news/build.gradle.kts +++ b/feature/news/build.gradle.kts @@ -30,7 +30,4 @@ dependencies { implementation(libs.androidx.core.ktx) implementation(libs.androidx.appcompat) implementation(libs.material) - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.junit) - androidTestImplementation(libs.androidx.espresso.core) } \ No newline at end of file diff --git a/feature/progress/build.gradle.kts b/feature/progress/build.gradle.kts index b1876d4..1eda875 100644 --- a/feature/progress/build.gradle.kts +++ b/feature/progress/build.gradle.kts @@ -30,7 +30,4 @@ dependencies { implementation(libs.androidx.core.ktx) implementation(libs.androidx.appcompat) implementation(libs.material) - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.junit) - androidTestImplementation(libs.androidx.espresso.core) } \ No newline at end of file diff --git a/feature/schedule/build.gradle.kts b/feature/schedule/build.gradle.kts index 877cfb9..00cf716 100644 --- a/feature/schedule/build.gradle.kts +++ b/feature/schedule/build.gradle.kts @@ -30,7 +30,4 @@ dependencies { implementation(libs.androidx.core.ktx) implementation(libs.androidx.appcompat) implementation(libs.material) - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.junit) - androidTestImplementation(libs.androidx.espresso.core) } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index fbf47b7..49369de 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,15 +1,12 @@ [versions] -compileSdk = "36" +compileSdk = "35" minSdk = "24" -targetSdk = "36" +targetSdk = "35" versionName = "1.0" versionCode = "1" agp = "8.8.2" coreKtx = "1.10.1" -junit = "4.13.2" -junitVersion = "1.1.5" -espressoCore = "3.5.1" appcompat = "1.6.1" material = "1.10.0" okhttp = "5.3.2" @@ -18,9 +15,6 @@ constraintlayout = "2.1.4" [libraries] androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } -junit = { group = "junit", name = "junit", version.ref = "junit" } -androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } -androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } material = { group = "com.google.android.material", name = "material", version.ref = "material" } okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }